mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 19:57:46 +00:00

Added formulas for base EXP gain and chain experience Added basic scripts for most player abilities and effects Added stat gains for some abilities Changed status flags Fixed bug with player death Fixed bug where auto attacks didnt work when not locked on Added traits
21 lines
No EOL
710 B
Lua
21 lines
No EOL
710 B
Lua
require("global");
|
|
require("magic");
|
|
|
|
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.MagicHeal) + 0.5 * (caster.GetMod(modifiersGlobal.Mind));
|
|
|
|
--DoAction handles rates, buffs, dealing damage
|
|
action.DoAction(caster, target, skill, actionContainer);
|
|
end; |