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
8 lines
268 B
Lua
8 lines
268 B
Lua
require("modifiers")
|
|
|
|
--Enahnced Cover: Restores 25% of damage taken as MP. Does not send a message
|
|
function onDamageTaken(effect, attacker, defender, action, actionContainer)
|
|
if effect.GetTier() == 2 then
|
|
defender.AddMP(0.25 * action.amount);
|
|
end
|
|
end; |