mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Combat additions
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
This commit is contained in:
27
data/scripts/commands/ability/rampart.lua
Normal file
27
data/scripts/commands/ability/rampart.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
require("global");
|
||||
require("ability");
|
||||
require("battleutils")
|
||||
|
||||
function onAbilityPrepare(caster, target, ability)
|
||||
return 0;
|
||||
end;
|
||||
|
||||
function onAbilityStart(caster, target, ability)
|
||||
|
||||
--27163: Enhanced Rampart:Expands rampart to affect party members
|
||||
if caster.HasTrait(27163) then
|
||||
ability.aoeType = TargetFindAOEType.Circle;
|
||||
end
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
--http://forum.square-enix.com/ffxiv/threads/47393-Tachi-s-Guide-to-Paladin-%28post-1.22b%29
|
||||
--180 enmity per member that has enmity on the current enemy
|
||||
--Need to figure out enmity system
|
||||
function onSkillFinish(caster, target, skill, action, actionContainer)
|
||||
action.enmity = 180;
|
||||
|
||||
--DoAction handles rates, buffs, dealing damage
|
||||
action.DoAction(caster, target, skill, actionContainer);
|
||||
end;
|
Reference in New Issue
Block a user