Files
NGECore2/scripts/buffs/me_stasis_self_1.py
T
Treeku d1fff9e069 Fixed buff duration check, fixed group buffs
- The duration needed to be set on the buff object "before "the buff is
actually added.  Because of this, I made the distinction between setup(0
(setting up the buff object) and add() (adding the buff stats to the
player).

- Group buffs would add the buff based on each individual player's
skillmods instead of the buffer's.  Due to this, I made a "buffer"
parameter for doAddBuff().  If there is a buffer, regardless of it's a
buffer within our group, we can specify them, otherwise provide null.
2014-03-22 02:07:53 +00:00

14 lines
274 B
Python

import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.playEffectObject('clienteffect/medic_stasis.cef', 'me_stasis_self_1')
actor.setSpeedMultiplierBase(0.2)
return
def remove(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return