Hey guys, I'm working on my first mod and I've run into a snag. playerHitEffectBuff does not seem to be working for me. The game loads fine, my skills are showing up properly and I can activate my buffs, but no effect takes place when I am hit. I've probably made a simple error but I haven't a clue what it might be. Here's an excerpt from my spellDB: Code: <spell name="Bad Reaction" type="self"> <effect type="damage" transmutative="2"/> </spell> <spell name="Inhuman Strength" type="self" icon="skills/aikido32.png" downtime="1"> <buff useTimer="0" allowstacking="0" removable="1" self="1" icon="skills/aikido64.png" smallicon="skills/aikido32.png" bad="0"> <primarybuff id="0" amount="3"/> <!-- Burliness --> <secondarybuff id="2" amount="3"/> <!-- Melee Power --> <secondarybuff id="10" amount="2"/> <!-- Armour Absorb --> <resistbuff transmutative="-2"/> <playerHitEffectBuff percentage="10" name="Bad Reaction" /> <playerHitEffecttBuff percentage="20" name="Unresistable Knock" /> </buff> <description text="You've genetically enhanced your muscles! Every now and then you reflexively push monsters away from you."/> </spell> <spell name="Sharpened Senses" type="self" icon="skills/rogue/perception1_32.png"> <buff useTimer="1" time="2" allowstacking="1" stacksize="1" icon="skills/rogue/perception1_64.png" smallicon="skills/rogue/perception1_32.png" bad="0"> <secondarybuff id="4" amount="10"/> <!-- Crit --> <secondarybuff id="9" amount="15"/> <!-- EDR --> <secondarybuff id="18" amount="1"/> <!-- Sight Radius --> </buff> <description text="You suddenly have a moment of clarity in the midst of battle. For just a moment, your attacks are more accurate and more deadly."/> </spell> <spell name="Enhanced Vision" type="self" icon="skills/skill_perception_small.png" downtime="1"> <buff useTimer="0" allowstacking="0" removable="1" self="1" icon="skills/skill_perception.png" smallicon="skills/skill_perception_small.png" bad="0"> <secondarybuff id="4" amount="5"/> <!-- Crit --> <secondarybuff id="9" amount="8"/> <!-- EDR --> <secondarybuff id="17" amount="2"/> <!-- Trap Sight --> <secondarybuff id="18" amount="2"/> <!-- Sight Radius --> <resistbuff transmutative="-2"/> <playerHitEffectBuff percentage="10" name="Bad Reaction" /> <playerHitEffecttBuff percentage="25" name="Sharpened Senses" /> </buff> <description text="You can see much better, which is pretty handy when you're stuck in a dungeon full of monsters. Sometimes your senses sharpen in the heat of the battle."/> </spell> Everything other than playerHitEffectBuff seems to be working fine. Any idea what I'm doing wrong?
I've definitely read that before somewhere I think it's a known bug? I'm also fairly sure there was a work-around So much for Unhelpful Post, stay tuned for more!
I did a search and I can't find any other posts to do with this problem. If anyone could link me to a relevant post it would be much appreciated.
I know that Blaze of Glory inflicts a working playerhiteffectbuff, you can read about it in the YHTNTEP spelldb
I've had a look at it, and I still haven't been able to figure out the problem. I'm pretty sure it's a bug.