mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Combat fixes and additions
Add default status gain and loss ids for status effects so buffs and debuffs can have different ids. Add sleep, slow, and slowcast Fix sacred prism not slowing casts Fix some incorrect text ids in battle commands
This commit is contained in:
12
data/scripts/effects/sleep.lua
Normal file
12
data/scripts/effects/sleep.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
require("modifiers")
|
||||
|
||||
--Set magnitude to milliseconds that HF will reduce delay by
|
||||
function onGain(owner, effect, actionContainer)
|
||||
end;
|
||||
|
||||
function onLose(owner, effect, actionContainer)
|
||||
end;
|
||||
|
||||
function onDamageTaken(effect, attacker, defender, skill, action, actionContainer)
|
||||
defender.statusEffects.RemoveStatusEffect(effect, actionContainer)
|
||||
end;
|
||||
Reference in New Issue
Block a user