Raised This Month: $51 Target: $400
 12% 

Solved [HELP] attack 250 hp = 1 ap


Post New Thread Reply   
 
Thread Tools Display Modes
marcelowzd
Senior Member
Join Date: Feb 2011
Location: São Paulo, Brazil
Old 03-27-2018 , 20:40   Re: [HELP] attack 250 hp = 1 ap
Reply With Quote #11

Quote:
Originally Posted by OciXCrom View Post
@marcelowzd - the counter you made isn't very accurate. If for example you have 249 damage stored in the variable and you need 1 more to get the reward, and then you deal 100 more damage with a single hit, 99 of the damage won't be counted because the counter resets to 0 when 250 is reached.

Instead of setting the counter to 0, you should set it to (damage_made - (250 - stored_damage)).
Yeah you're right on this, edited the first post.
Also, added the ammo pack system, but i'll leave it as it is because i don't know the exact name.
__________________
marcelowzd is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode