Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Setting Percents and Damage Caps

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Chronoas




Joined: 18 Sep 2008
Posts: 37

PostPosted: Fri Sep 02, 2011 3:02 pm    Post subject: Setting Percents and Damage Caps Reply with quote

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.
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Sat Sep 03, 2011 12:10 am    Post subject: Reply with quote

That definitely doesn't seem right. I've fixed it.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group