mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Cleaned up unneeded requires in some scripts Fixed Second Wind Added new effect scripts Added bard song scripts that mostly work
10 lines
353 B
Lua
10 lines
353 B
Lua
require("modifiers")
|
|
|
|
function onHit(effect, attacker, defender, action, actionContainer)
|
|
local enmity = action.enmity;
|
|
action.enmity = 0;
|
|
|
|
defender.hateContainer.UpdateHate(effect.GetSource(), enmity);
|
|
--Does collusion send a message?
|
|
actionContainer.AddAction(attacker.statusEffects.RemoveStatusEffectForBattleAction(effect));
|
|
end; |