mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Script fixes and new effects.
Cleaned up unneeded requires in some scripts Fixed Second Wind Added new effect scripts Added bard song scripts that mostly work
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
require("global")
|
||||
require("modifiers")
|
||||
require("hiteffect")
|
||||
require("utils")
|
||||
|
||||
--Restores 25% of damage taken as MP. Does not send a message
|
||||
--Enahnced Cover: Restores 25% of damage taken as MP. Does not send a message
|
||||
function onDamageTaken(effect, attacker, defender, action, actionContainer)
|
||||
defender.AddMP(0.25 * action.amount);
|
||||
if effect.GetTier() == 2 then
|
||||
defender.AddMP(0.25 * action.amount);
|
||||
end
|
||||
end;
|
Reference in New Issue
Block a user