Posts: 1,428
Threads: 78
Joined: Feb 2008
Reputation:
0
Are you sure that Objective can never become 0?
And can you show me where you create the variable Result please?
Posts: 1,428
Threads: 78
Joined: Feb 2008
Reputation:
0
Oh sorry, i can't see the end of that first line on my ipod, the text shows bigger here and doesn't fit on the page.
Looks fine for me on my linux machine. Show me your str variable deceleration.
Posts: 2,938
Threads: 162
Joined: May 2010
print the values of Hits and Objective and get back to me here
The problem can be on these things:
1) GetVictimsTotalHealth.
2) GetAmountTakenFromVictims.
3) str.