ive tried a.tgr and a.sparam(0) gives me an error i dont understand.
also, would adding to the target rate be permanent?
update: ive found the random target function..
Code:
def random_target
tgr_rand = rand * tgr_sum
alive_members.each do |member|
tgr_rand -= member.tgr
return member if tgr_rand < 0
end
alive_members[0]
endsince it only returns if the result is below 0 im wondering if tgr for each character is actually a negative value.. but i really dont understand whats going on here. going to try a.tgr with -100 and see if anything changes.