WizWom Posted September 8, 2006 Share Posted September 8, 2006 I put in a test block: IF DamageTakenGT(1) THEN RESPONSE #100 DisplayStringHead(Myself,111) END My character has 29 base, but 35 after con bonus HP Imagine my surprise when the first few hit points of damage did not display this: in fact, it did not display until I was below my BASE HP. Very odd. Link to comment
Avenger Posted September 8, 2006 Share Posted September 8, 2006 Aww, this is definitely a bug. You should volunteer for beta testing, hehe. I will try to not copy this bug in GemRB DamageTakenGT is not an event trigger? It is just the sum of wounds already got? Link to comment
WizWom Posted September 8, 2006 Author Share Posted September 8, 2006 I wanted to use healing potions when I had taken more than twice the amount they heal in damage: i.e., when I had taken 18, use a standard healing potion. So I wrote IF DamageTakenGT(18) HasItem("_POTN18",Myself) THEN RESPONSE #100 UseItem("_POTN18",Myself) END So, I wondered why my code wasn't using the Healing Potion and did the above test. Instead I used the HPPercentLT in the end. Link to comment
WizWom Posted September 10, 2006 Author Share Posted September 10, 2006 Oddly enough, once I healed him - then it started after his first point of damage. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.