| Chronoas 
 
 
  
 Joined: 18 Sep 2008
 Posts: 37
 
 
 | 
			
				|  Posted: Fri Sep 02, 2011 3:02 pm    Post subject: Setting Percents and Damage Caps |   |  
				| 
 |  
				| I seem to have come across something that may be a bug.  I'm trying to make an auto-kill attack by having it set the target's HP to 0% of current.  Unfortunately, the attack is not working correctly.  I successfully used it on an enemy, and yet it did not kill them.  With the use of the F11 debug key, I watched the enemy's HP as I used the attack, and found that, instead of setting the HP to 0%, it reduced their HP by 9999, which happens to be the damage cap I set for my game.  Double-checking my auto-kill move, the "% based attacks damage instead of set" bitset is NOT on. 
 TL;DR:
 
 Set HP to 0% of current is being limited by the damage cap.  "% based attacks damage instead of set" bitset is NOT on.  Intended behaviour or bug?
 
 P.S:  Currently using August 08 nightly.
 |  |