mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
9 lines
262 B
Lua
9 lines
262 B
Lua
![]() |
require("global")
|
||
|
require("modifiers")
|
||
|
require("hiteffect")
|
||
|
require("utils")
|
||
|
|
||
|
--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);
|
||
|
end;
|