mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
22 lines
No EOL
742 B
Lua
22 lines
No EOL
742 B
Lua
require("global");
|
|
require("magic");
|
|
require("modifiers");
|
|
|
|
function onMagicPrepare(caster, target, spell)
|
|
return 0;
|
|
end;
|
|
|
|
function onMagicStart(caster, target, spell)
|
|
return 0;
|
|
end;
|
|
|
|
function onSkillFinish(caster, target, skill, action, actionContainer)
|
|
--http://forum.square-enix.com/ffxiv/threads/41900-White-Mage-A-Guide
|
|
--2.5 HP per Healing Magic Potency
|
|
--0.5 HP per MND
|
|
--this is WITH WHM AF chest, don't know formula without AF. AF seems to increase healing by 7-10%?
|
|
action.amount = 2.5 * caster.GetMod(modifiersGlobal.HealingMagicPotency) + 0.5 * (caster.GetMod(modifiersGlobal.Mind));
|
|
|
|
--DoAction handles rates, buffs, dealing damage
|
|
action.DoAction(caster, target, skill, actionContainer);
|
|
end; |