Any update on this?
Yes! 1.2 is out! There are custom buffs to be used now, I use several already such as:
When zombie spikes get you - you slow down (waaay down)
Spiders shoot you with web, and webbing gums up your feet and slows you down.
The buffs allow you to do the following:
Upon receiving damage -
Change damage multiplier (usually to lessen it, multiply by 0.7, etc)
Change movement multiplier (same, like multiply by 0.5)
Create a light effect around the player
Display a 'buff' on the player (like my webs)
Set a time limit on the buff.
You can view these effects merely by playing the HW campaign - as all older mobs have been redone to include things such as burning, poison, cold/slow, etc!
Here is the default one for maggot poison:
<buff>
<behavior>
<dictionary>
<string name="color">135 255 165</string>
<int name="duration">4500</int>
<float name="speed-mul">0.66</float>
<float name="dmg-mul">0.75</float>
<dictionary name="damage">
<int name="freq">1500</int>
<int name="dmg">2</int>
<bool name="can-kill">false</bool>
</dictionary>
<array name="effects">
<dictionary>
<string name="type">particles</string>
<string name="sprite">effects/particles.xml:poison-particle</string>
<int name="freq">75</int>
<int name="rate">50</int>
<vec2 name="dir">0 1</vec2>
<float name="dir-spread">0</float>
<float name="speed">0.25</float>
</dictionary>
</array>
</dictionary>
</behavior>
</buff>
And to call the buff in an actor's attack, its actually in the Projectile.xml that the actor uses:
<projectile directions="8" collision="0.75" damage="5" speed="0.75" behavior="neutral">
<behavior>
<dictionary>
<string name="buff">buffs/maggot_poison.xml</string>
</dictionary>
</behavior>
...ETC
Was that helpful?