diff --git a/FFXIVClassic Map Server/Database.cs b/FFXIVClassic Map Server/Database.cs index 8f9b0dea..04cf5c4c 100644 --- a/FFXIVClassic Map Server/Database.cs +++ b/FFXIVClassic Map Server/Database.cs @@ -1343,7 +1343,7 @@ namespace FFXIVClassic_Map_Server player.charaWork.parameterSave.commandSlot_recastTime[index - player.charaWork.commandBorder] = reader.GetUInt32(2); //Recast timer - Ability ability = Server.GetWorldManager().GetAbility((ushort)(trueCommandId ^ 2700083200)); + BattleCommand ability = Server.GetWorldManager().GetAbility((ushort)(trueCommandId ^ 2700083200)); player.charaWork.parameterTemp.maxCommandRecastTime[index - player.charaWork.commandBorder] = (ushort) (ability != null ? ability.recastTimeSeconds : 1); //Previous recast timer player.charaWork.parameterSave.commandSlot_recastTime[index - player.charaWork.commandBorder] = reader.GetUInt32(2); @@ -2149,9 +2149,9 @@ namespace FFXIVClassic_Map_Server } } - public static Dictionary LoadGlobalAbilityList() + public static Dictionary LoadGlobalBattleCommandList() { - var abilities = new Dictionary(); + var battleCommands = new Dictionary(); using (MySqlConnection conn = new MySqlConnection(String.Format("Server={0}; Port={1}; Database={2}; UID={3}; Password={4}", ConfigConstants.DATABASE_HOST, ConfigConstants.DATABASE_PORT, ConfigConstants.DATABASE_NAME, ConfigConstants.DATABASE_USERNAME, ConfigConstants.DATABASE_PASSWORD))) { @@ -2160,7 +2160,7 @@ namespace FFXIVClassic_Map_Server conn.Open(); var query = ("SELECT `id`, name, classJob, lvl, requirements, validTarget, aoeType, numHits, positionBonus, procRequirement, `range`, buffDuration, debuffDuration, " + - "castType, castTime, recastTime, mpCost, tpCost, animationType, effectAnimation, modelAnimation, animationDuration FROM abilities;"); + "castType, castTime, recastTime, mpCost, tpCost, animationType, effectAnimation, modelAnimation, animationDuration, aoeRange FROM battle_commands;"); MySqlCommand cmd = new MySqlCommand(query, conn); @@ -2168,33 +2168,34 @@ namespace FFXIVClassic_Map_Server { while (reader.Read()) { - var id = reader.GetUInt16(0); - var name = reader.GetString(1); - var ability = new Ability(id, name); + var id = reader.GetUInt16("id"); + var name = reader.GetString("name"); + var battleCommand = new BattleCommand(id, name); - ability.job = reader.GetByte(2); - ability.level = reader.GetByte(3); - ability.requirements = (AbilityRequirements)reader.GetUInt16(4); - ability.validTarget = (ValidTarget)reader.GetByte(5); - ability.aoeType = (TargetFindAOEType)reader.GetByte(6); - ability.numHits = reader.GetByte(7); - ability.positionBonus = (AbilityPositionBonus)reader.GetByte(8); - ability.procRequirement = (AbilityProcRequirement)reader.GetByte(9); - ability.range = reader.GetInt32(10); - ability.debuffDurationSeconds = reader.GetUInt32(11); - ability.buffDurationSeconds = reader.GetUInt32(12); - ability.castType = reader.GetByte(13); - ability.castTimeSeconds = reader.GetUInt32(14); - ability.recastTimeSeconds = reader.GetUInt32(15); - ability.mpCost = reader.GetUInt16(16); - ability.tpCost = reader.GetUInt16(17); - ability.animationType = reader.GetByte(18); - ability.effectAnimation = reader.GetUInt16(19); - ability.modelAnimation = reader.GetUInt16(20); - ability.animationDurationSeconds = reader.GetUInt16(21); - ability.battleAnimation = (uint)((ability.animationType << 24) | (ability.modelAnimation << 12) | (ability.effectAnimation)); + battleCommand.job = reader.GetByte("classJob"); + battleCommand.level = reader.GetByte("lvl"); + battleCommand.requirements = (AbilityRequirements)reader.GetUInt16("requirements"); + battleCommand.validTarget = (ValidTarget)reader.GetByte("validTarget"); + battleCommand.aoeType = (TargetFindAOEType)reader.GetByte("aoeType"); + battleCommand.numHits = reader.GetByte("numHits"); + battleCommand.positionBonus = (AbilityPositionBonus)reader.GetByte("positionBonus"); + battleCommand.procRequirement = (AbilityProcRequirement)reader.GetByte("procRequirement"); + battleCommand.range = reader.GetInt32("range"); + battleCommand.debuffDurationSeconds = reader.GetUInt32("debuffDuration"); + battleCommand.buffDurationSeconds = reader.GetUInt32("buffDuration"); + battleCommand.castType = reader.GetByte("castType"); + battleCommand.castTimeSeconds = reader.GetUInt32("castTime"); + battleCommand.recastTimeSeconds = reader.GetUInt32("recastTime"); + battleCommand.mpCost = reader.GetUInt16("mpCost"); + battleCommand.tpCost = reader.GetUInt16("tpCost"); + battleCommand.animationType = reader.GetByte("animationType"); + battleCommand.effectAnimation = reader.GetUInt16("effectAnimation"); + battleCommand.modelAnimation = reader.GetUInt16("modelAnimation"); + battleCommand.animationDurationSeconds = reader.GetUInt16("animationDuration"); + battleCommand.aoeRange = reader.GetInt32("aoeRange"); + battleCommand.battleAnimation = (uint)((battleCommand.animationType << 24) | (battleCommand.modelAnimation << 12) | (battleCommand.effectAnimation)); - abilities.Add(id, ability); + battleCommands.Add(id, battleCommand); } } } @@ -2207,7 +2208,7 @@ namespace FFXIVClassic_Map_Server conn.Dispose(); } } - return abilities; + return battleCommands; } diff --git a/FFXIVClassic Map Server/FFXIVClassic Map Server.csproj b/FFXIVClassic Map Server/FFXIVClassic Map Server.csproj index cb067e71..9de0c8ab 100644 --- a/FFXIVClassic Map Server/FFXIVClassic Map Server.csproj +++ b/FFXIVClassic Map Server/FFXIVClassic Map Server.csproj @@ -93,7 +93,7 @@ - + diff --git a/FFXIVClassic Map Server/WorldManager.cs b/FFXIVClassic Map Server/WorldManager.cs index cdfe3804..0ee0258c 100644 --- a/FFXIVClassic Map Server/WorldManager.cs +++ b/FFXIVClassic Map Server/WorldManager.cs @@ -37,7 +37,7 @@ namespace FFXIVClassic_Map_Server private Dictionary actorClasses = new Dictionary(); private Dictionary currentPlayerParties = new Dictionary(); //GroupId, Party object private Dictionary effectList = new Dictionary(); - private Dictionary abilityList = new Dictionary(); + private Dictionary abilityList = new Dictionary(); private Server mServer; @@ -1153,12 +1153,12 @@ namespace FFXIVClassic_Map_Server public void LoadAbilities() { - abilityList = Database.LoadGlobalAbilityList(); + abilityList = Database.LoadGlobalBattleCommandList(); } - public Ability GetAbility(uint id) + public BattleCommand GetAbility(uint id) { - Ability ability; + BattleCommand ability; return abilityList.TryGetValue((ushort)id, out ability) ? ability.Clone() : null; } } diff --git a/FFXIVClassic Map Server/actors/chara/Character.cs b/FFXIVClassic Map Server/actors/chara/Character.cs index 3e05d153..28fa05b1 100644 --- a/FFXIVClassic Map Server/actors/chara/Character.cs +++ b/FFXIVClassic Map Server/actors/chara/Character.cs @@ -11,6 +11,7 @@ using System.Collections.Generic; using FFXIVClassic_Map_Server.actors.chara; using FFXIVClassic_Map_Server.packets.send.actor.battle; using FFXIVClassic_Map_Server.packets.send; +using FFXIVClassic_Map_Server.actors.chara.ai.state; namespace FFXIVClassic_Map_Server.Actors { @@ -177,6 +178,7 @@ namespace FFXIVClassic_Map_Server.Actors zone.BroadcastPacketAroundActor(this, PlayAnimationOnActorPacket.BuildPacket(actorId, animId)); } + #region ai stuff public void PathTo(float x, float y, float z, float stepSize = 0.70f, int maxPath = 40, float polyRadius = 0.0f) { aiContainer?.pathFind?.PreparePath(x, y, z, stepSize, maxPath, polyRadius); @@ -265,17 +267,17 @@ namespace FFXIVClassic_Map_Server.Actors return true; } - public virtual bool CanCast(Character target, Ability spell, ref SubPacket errorPacket) + public virtual bool CanCast(Character target, BattleCommand spell, ref SubPacket errorPacket) { return false; } - public virtual bool CanWeaponSkill(Character target, Ability skill, ref SubPacket errorPacket) + public virtual bool CanWeaponSkill(Character target, BattleCommand skill, ref SubPacket errorPacket) { return false; } - public virtual bool CanUseAbility(Character target, Ability ability, ref SubPacket errorPacket) + public virtual bool CanUseAbility(Character target, BattleCommand ability, ref SubPacket errorPacket) { return false; } @@ -470,6 +472,27 @@ namespace FFXIVClassic_Map_Server.Actors // todo: for battlenpc/player calculate speed return moveSpeeds[2] + GetMod((uint)Modifier.Speed); } + + public virtual void OnAttack(State state, BattleAction action) + { + + } + + public virtual void OnCast(State state, BattleAction action) + { + + } + + public virtual void OnWeaponSkill(State state, BattleAction action) + { + + } + + public virtual void OnAbility(State state, BattleAction action) + { + + } + #endregion } } diff --git a/FFXIVClassic Map Server/actors/chara/ai/Ability.cs b/FFXIVClassic Map Server/actors/chara/ai/BattleCommand.cs similarity index 92% rename from FFXIVClassic Map Server/actors/chara/ai/Ability.cs rename to FFXIVClassic Map Server/actors/chara/ai/BattleCommand.cs index 3ba09fa0..800c48f9 100644 --- a/FFXIVClassic Map Server/actors/chara/ai/Ability.cs +++ b/FFXIVClassic Map Server/actors/chara/ai/BattleCommand.cs @@ -7,6 +7,7 @@ using System.Threading.Tasks; using FFXIVClassic_Map_Server.actors.chara.player; using FFXIVClassic.Common; using FFXIVClassic_Map_Server.packets.send.actor; +using FFXIVClassic_Map_Server.actors.chara.ai.utils; namespace FFXIVClassic_Map_Server.actors.chara.ai { @@ -43,7 +44,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai Miss = 0x08 } - class Ability + class BattleCommand { public ushort id; public string name; @@ -70,20 +71,20 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai public uint battleAnimation; public ushort worldMasterTextId; - public uint param; + public int aoeRange; public TargetFind targetFind; - public Ability(ushort id, string name) + public BattleCommand(ushort id, string name) { this.id = id; this.name = name; this.range = 0; } - public Ability Clone() + public BattleCommand Clone() { - return (Ability)MemberwiseClone(); + return (BattleCommand)MemberwiseClone(); } public bool IsSpell() @@ -104,15 +105,16 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai if (aoeType == TargetFindAOEType.Box) { // todo: read box width from sql - targetFind.SetAOEBox(validTarget, range, 3); + targetFind.SetAOEBox(validTarget, range, aoeRange); } else { - targetFind.SetAOEType(validTarget, aoeType, range, 40); + targetFind.SetAOEType(validTarget, aoeType, range, aoeRange); } /* + worldMasterTextId 32512 cannot be performed on a KO'd target. 32513 can only be performed on a KO'd target. 32514 cannot be performed on yourself. @@ -143,8 +145,8 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai } // todo: calculate cost based on modifiers also (probably in BattleUtils) - - if (mpCost > 0 && (mpCost = CalculateCost((ushort)user.charaWork.parameterSave.state_mainSkillLevel)) > user.GetMP()) + + if (BattleUtils.CalculateSpellCost(user, target, this) > user.GetMP()) { // todo: error message errorPacket = user.CreateGameMessagePacket(Server.GetWorldManager().GetActor(), 32545, 0x20, (uint)id); @@ -215,7 +217,10 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai else cost = (ushort)(8000 + (level - 70) * 500); - return (ushort)Math.Ceiling((cost * ((mpCost == 0 ? tpCost : mpCost) * 0.001))); + if (mpCost != 0) + return (ushort)Math.Ceiling((cost * mpCost * 0.001)); + + return tpCost; } } } diff --git a/FFXIVClassic Map Server/actors/chara/ai/PathFind.cs b/FFXIVClassic Map Server/actors/chara/ai/PathFind.cs index e074c111..e99f7fba 100644 --- a/FFXIVClassic Map Server/actors/chara/ai/PathFind.cs +++ b/FFXIVClassic Map Server/actors/chara/ai/PathFind.cs @@ -137,6 +137,10 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai { point = path[path.Count - 1]; } + else + { + return true; + } if (distanceFromPoint == 0) return owner.positionX == point.X && owner.positionZ == point.Z; diff --git a/FFXIVClassic Map Server/actors/chara/ai/StatusEffect.cs b/FFXIVClassic Map Server/actors/chara/ai/StatusEffect.cs index d6c90d73..8c01dbff 100644 --- a/FFXIVClassic Map Server/actors/chara/ai/StatusEffect.cs +++ b/FFXIVClassic Map Server/actors/chara/ai/StatusEffect.cs @@ -1,6 +1,7 @@ using FFXIVClassic_Map_Server.Actors; using FFXIVClassic_Map_Server.lua; using FFXIVClassic_Map_Server.packets.send.actor; +using FFXIVClassic_Map_Server.packets.send.actor.battle; using System; using System.Collections.Generic; using System.Linq; @@ -368,6 +369,8 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai private StatusEffectOverwrite overwrite; // how to handle adding an effect with same id (see StatusEfectOverwrite) private bool silent = false; // do i send a message on losing effect + HitEffect animationEffect; + public StatusEffect(Character owner, uint id, UInt64 magnitude, uint tickMs, uint durationMs, byte tier = 0) { this.owner = owner; @@ -566,5 +569,15 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai { this.silent = silent; } + + public void SetAnimation(uint hitEffect) + { + animationEffect = (HitEffect)hitEffect; + } + + public uint GetAnimation() + { + return (uint)animationEffect; + } } } diff --git a/FFXIVClassic Map Server/actors/chara/ai/StatusEffectContainer.cs b/FFXIVClassic Map Server/actors/chara/ai/StatusEffectContainer.cs index 17af439c..032bb54e 100644 --- a/FFXIVClassic Map Server/actors/chara/ai/StatusEffectContainer.cs +++ b/FFXIVClassic Map Server/actors/chara/ai/StatusEffectContainer.cs @@ -68,6 +68,11 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai public bool AddStatusEffect(StatusEffect newEffect, Character source, bool silent = false) { + /* + worldMasterTextId + 32001 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),resist,resists)] the effect of [@SHEET(xtx/status,$E8(11),3)]. + 32002 [@SHEET(xtx/status,$E8(11),3)] fails to take effect. + */ // todo: check flags/overwritable and add effect to list var effect = GetStatusEffectById(newEffect.GetStatusEffectId()); bool canOverwrite = false; @@ -85,8 +90,6 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai if (!silent || !effect.GetSilent() || (effect.GetFlags() & (uint)StatusEffectFlags.Silent) == 0) { // todo: send packet to client with effect added message - foreach (var player in owner.zone.GetActorsAroundActor(owner, 50)) - player.QueuePacket(packets.send.actor.battle.BattleActionX01Packet.BuildPacket(player.actorId, newEffect.GetSource().actorId, newEffect.GetOwner().actorId, 0x7678, 0, 0, newEffect.GetStatusId(), 0, 0)); } // wont send a message about losing effect here @@ -119,11 +122,10 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai if (effects.ContainsKey(effect.GetStatusEffectId())) { // send packet to client with effect remove message - if (!silent || !effect.GetSilent() || (effect.GetFlags() & (uint)StatusEffectFlags.Silent) == 0) + if (!silent && !effect.GetSilent() || (effect.GetFlags() & (uint)StatusEffectFlags.Silent) == 0) { // todo: send packet to client with effect added message - foreach (var player in owner.zone.GetActorsAroundActor(owner, 50)) - player.QueuePacket(packets.send.actor.battle.BattleActionX01Packet.BuildPacket(player.actorId, owner.actorId, owner.actorId, 0x7679, 0, 0, effect.GetStatusId(), 0, 0)); + } // todo: this is retarded.. @@ -147,7 +149,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai { if (effect.GetStatusEffectId() == effectId) { - RemoveStatusEffect(effect, silent); + RemoveStatusEffect(effect, effect.GetSilent() || silent); break; } } diff --git a/FFXIVClassic Map Server/actors/chara/ai/TargetFind.cs b/FFXIVClassic Map Server/actors/chara/ai/TargetFind.cs index 2e42be88..865e97d3 100644 --- a/FFXIVClassic Map Server/actors/chara/ai/TargetFind.cs +++ b/FFXIVClassic Map Server/actors/chara/ai/TargetFind.cs @@ -309,11 +309,15 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai private void AddAllInHateList() { if (!(owner is BattleNpc)) - Program.Log.Error($"TargetFind.AddAllInHateList() owner [{owner.actorId}] {owner.customDisplayName} {owner.actorName} is not a BattleNpc"); - - foreach (var hateEntry in ((BattleNpc)owner).hateContainer.GetHateList()) { - AddTarget(hateEntry.Value.actor, false); + Program.Log.Error($"TargetFind.AddAllInHateList() owner [{owner.actorId}] {owner.customDisplayName} {owner.actorName} is not a BattleNpc"); + } + else + { + foreach (var hateEntry in ((BattleNpc)owner).hateContainer.GetHateList()) + { + AddTarget(hateEntry.Value.actor, false); + } } } diff --git a/FFXIVClassic Map Server/actors/chara/ai/controllers/PlayerController.cs b/FFXIVClassic Map Server/actors/chara/ai/controllers/PlayerController.cs index 350d70df..a249d782 100644 --- a/FFXIVClassic Map Server/actors/chara/ai/controllers/PlayerController.cs +++ b/FFXIVClassic Map Server/actors/chara/ai/controllers/PlayerController.cs @@ -66,6 +66,11 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.controllers owner.aiContainer.InternalCast(target, spellId); } + public override void WeaponSkill(Character target, uint weaponSkillId) + { + owner.aiContainer.InternalWeaponSkill(target, weaponSkillId); + } + public override void Ability(Character target, uint abilityId) { owner.aiContainer.InternalAbility(target, abilityId); diff --git a/FFXIVClassic Map Server/actors/chara/ai/state/AttackState.cs b/FFXIVClassic Map Server/actors/chara/ai/state/AttackState.cs index 2572db81..647b9340 100644 --- a/FFXIVClassic Map Server/actors/chara/ai/state/AttackState.cs +++ b/FFXIVClassic Map Server/actors/chara/ai/state/AttackState.cs @@ -11,8 +11,6 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state { class AttackState : State { - private int damage = 0; - private bool tooFar = false; private DateTime attackTime; public AttackState(Character owner, Character target) : @@ -31,8 +29,6 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state public override void OnStart() { // todo: check within attack range - - owner.LookAt(target); } public override bool Update(DateTime tick) @@ -46,7 +42,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state return true; } */ - if (owner.target != target || owner.target?.actorId != owner.currentLockedTarget) + if (target == null || owner.target != target || owner.target?.actorId != owner.currentLockedTarget) owner.aiContainer.ChangeTarget(target = Server.GetWorldManager().GetActorInWorld(owner.currentLockedTarget == 0xC0000000 ? owner.currentTarget : owner.currentLockedTarget) as Character); if (target == null || target.IsDead()) @@ -90,22 +86,15 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state public override void OnComplete() { - damage = utils.AttackUtils.CalculateDamage(owner, target); + // todo: possible underflow + BattleAction action = new BattleAction(); + //var packet = BattleActionX01Packet.BuildPacket(owner.actorId, owner.actorId, target.actorId, (uint)0x19001000, (uint)0x8000604, (ushort)0x765D, (ushort)BattleActionX01PacketCommand.Attack, (ushort)damage, (byte)0x1); - // onAttack(actor, target, damage) - utils.BattleUtils.DamageTarget(owner, target, damage); - lua.LuaEngine.CallLuaBattleAction(owner, "onAttack", false, owner, target, damage); - - { - var actors = owner.zone.GetActorsAroundActor(owner, 50); - foreach (var player in actors) - { - var packet = BattleActionX01Packet.BuildPacket(player.actorId, owner.actorId, target.actorId, (uint)0x19001000, (uint)0x8000604, (ushort)0x765D, (ushort)BattleActionX01PacketCommand.Attack, (ushort)damage, (byte)0x1); - player.QueuePacket(packet); - } - } - target.DelHP((short)damage); - owner.LookAt(target); + action.targetId = target.actorId; + action.effectId = (uint)HitEffect.Hit; + action.worldMasterTextId = 0x765D; + action.param = 1; // todo: hit effect doesnt display without this? + owner.OnAttack(this, action); //this.errorPacket = BattleActionX01Packet.BuildPacket(target.actorId, owner.actorId, target.actorId, 0, effectId, 0, (ushort)BattleActionX01PacketCommand.Attack, (ushort)damage, 0); } diff --git a/FFXIVClassic Map Server/actors/chara/ai/state/MagicState.cs b/FFXIVClassic Map Server/actors/chara/ai/state/MagicState.cs index ce5f8379..f1fc901c 100644 --- a/FFXIVClassic Map Server/actors/chara/ai/state/MagicState.cs +++ b/FFXIVClassic Map Server/actors/chara/ai/state/MagicState.cs @@ -15,29 +15,34 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state class MagicState : State { - private Ability spell; - private uint cost; + private BattleCommand spell; private Vector3 startPos; public MagicState(Character owner, Character target, ushort spellId) : base(owner, target) { + this.startPos = owner.GetPosAsVector3(); this.startTime = DateTime.Now; // todo: lookup spell from global table this.spell = Server.GetWorldManager().GetAbility(spellId); - var returnCode = lua.LuaEngine.CallLuaAbilityFunction(owner, spell, "spells", "onSpellPrepare", owner, target, spell); + var returnCode = lua.LuaEngine.CallLuaBattleCommandFunction(owner, spell, "magic", "onMagicPrepare", owner, target, spell); // todo: check recast - if (owner.CanCast(target, spell, ref errorPacket)) + if (returnCode == 0 && owner.CanCast(target, spell, ref errorPacket)) { // todo: Azia can fix, check the recast time and send error OnStart(); } - else if (interrupt || errorPacket != null) + else { - if (owner is Player && errorPacket != null) - ((Player)owner).QueuePacket(errorPacket); + if (owner is Player) + { + // "Your battle command fails to activate" + if (errorPacket == null) + errorPacket = owner.CreateGameMessagePacket(Server.GetWorldManager().GetActor(), (ushort)(returnCode == -1 ? 32410 : returnCode), 0x20, owner.actorId); + ((Player)owner).QueuePacket(errorPacket); + } errorPacket = null; interrupt = true; } @@ -45,7 +50,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state public override void OnStart() { - var returnCode = lua.LuaEngine.CallLuaAbilityFunction(owner, spell, "spells", "onSpellStart", owner, target, spell); + var returnCode = lua.LuaEngine.CallLuaBattleCommandFunction(owner, spell, "magic", "onMagicStart", owner, target, spell); if (returnCode != 0) { @@ -55,8 +60,6 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state else { // todo: check within attack range - startPos = owner.GetPosAsVector3(); - owner.LookAt(target); float[] baseCastDuration = { 1.0f, 0.25f }; float spellSpeed = spell.castTimeSeconds; @@ -126,12 +129,15 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state action.unknown = 1; action.targetId = chara.actorId; action.worldMasterTextId = spell.worldMasterTextId; - action.amount = (ushort)lua.LuaEngine.CallLuaAbilityFunction(owner, spell, "spells", "onSpellFinish", owner, chara, spell, action); + action.amount = (ushort)lua.LuaEngine.CallLuaBattleCommandFunction(owner, spell, "magic", "onMagicFinish", owner, chara, spell, action); actions[i++] = action; //packets.Add(BattleActionX01Packet.BuildPacket(chara.actorId, owner.actorId, action.targetId, spell.battleAnimation, action.effectId, action.worldMasterTextId, spell.id, action.amount, action.param)); } - packets.Add(BattleActionX10Packet.BuildPacket(owner.target.actorId, owner.actorId, spell.battleAnimation, spell.id, actions)); + owner.zone.BroadcastPacketAroundActor(owner, + spell.aoeType != TargetFindAOEType.None ? (BattleActionX10Packet.BuildPacket(owner.target.actorId, owner.actorId, spell.battleAnimation, spell.id, actions)) : + BattleActionX01Packet.BuildPacket(owner.actorId, owner.actorId, target.actorId, spell.battleAnimation, actions[0].effectId, actions[0].worldMasterTextId, spell.id, actions[0].amount, actions[0].param) + ); owner.zone.BroadcastPacketsAroundActor(owner, packets); } @@ -181,5 +187,10 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state } owner.zone.BroadcastPacketsAroundActor(owner, packets); } + + public BattleCommand GetSpell() + { + return spell; + } } } diff --git a/FFXIVClassic Map Server/actors/chara/ai/state/State.cs b/FFXIVClassic Map Server/actors/chara/ai/state/State.cs index a1ca89f4..e050d1ee 100644 --- a/FFXIVClassic Map Server/actors/chara/ai/state/State.cs +++ b/FFXIVClassic Map Server/actors/chara/ai/state/State.cs @@ -59,5 +59,10 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state this.target = target; } + public Character GetTarget() + { + return target; + } + } } diff --git a/FFXIVClassic Map Server/actors/chara/ai/state/WeaponSkillState.cs b/FFXIVClassic Map Server/actors/chara/ai/state/WeaponSkillState.cs index 53d6ac79..33fa704b 100644 --- a/FFXIVClassic Map Server/actors/chara/ai/state/WeaponSkillState.cs +++ b/FFXIVClassic Map Server/actors/chara/ai/state/WeaponSkillState.cs @@ -14,7 +14,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state class WeaponSkillState : State { - private Ability skill; + private BattleCommand skill; public WeaponSkillState(Character owner, Character target, ushort skillId) : base(owner, target) @@ -22,19 +22,24 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state this.startTime = DateTime.Now; // todo: lookup skill from global table this.skill = Server.GetWorldManager().GetAbility(skillId); - var returnCode = lua.LuaEngine.CallLuaAbilityFunction(owner, skill, "weaponskills", "onSkillPrepare", owner, target, skill); + var returnCode = lua.LuaEngine.CallLuaBattleCommandFunction(owner, skill, "weaponskill", "onSkillPrepare", owner, target, skill); // todo: check recast - if (owner.CanWeaponSkill(target, skill, ref errorPacket)) + if (returnCode == 0 && owner.CanWeaponSkill(target, skill, ref errorPacket)) { // todo: Azia can fix, check the recast time and send error OnStart(); } - else if (interrupt || errorPacket != null) + else { - if (owner is Player && errorPacket != null) - ((Player)owner).QueuePacket(errorPacket); + if (owner is Player) + { + // "Your battle command fails to activate" + if (errorPacket == null) + errorPacket = owner.CreateGameMessagePacket(Server.GetWorldManager().GetActor(), (ushort)(returnCode == -1 ? 32410 : returnCode), 0x20, owner.actorId, owner.actorId, owner.actorId, owner.actorId); + ((Player)owner).QueuePacket(errorPacket); + } errorPacket = null; interrupt = true; } @@ -42,7 +47,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state public override void OnStart() { - var returnCode = lua.LuaEngine.CallLuaAbilityFunction(owner, skill, "weaponskills", "onSkillStart", owner, target, skill); + var returnCode = lua.LuaEngine.CallLuaBattleCommandFunction(owner, skill, "weaponskill", "onSkillStart", owner, target, skill); if (returnCode != 0) { @@ -96,25 +101,29 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state isCompleted = true; var targets = skill.targetFind.GetTargets(); + BattleAction[] actions = new BattleAction[targets.Count]; - List packets = new List(); var i = 0; foreach (var chara in targets) { var action = new BattleAction(); - action.effectId = 0; + action.effectId = (uint)HitEffect.Hit; action.param = 1; action.unknown = 1; action.targetId = chara.actorId; action.worldMasterTextId = skill.worldMasterTextId; - action.amount = (ushort)lua.LuaEngine.CallLuaAbilityFunction(owner, skill, "skills", "onSkillFinish", owner, target, skill, action); + // evasion, miss, dodge, etc to be handled in script, calling helpers from scripts/weaponskills.lua + action.amount = (ushort)lua.LuaEngine.CallLuaBattleCommandFunction(owner, skill, "weaponskill", "onSkillFinish", owner, target, skill, action); actions[i++] = action; //packets.Add(BattleActionX01Packet.BuildPacket(chara.actorId, owner.actorId, action.targetId, skill.battleAnimation, action.effectId, action.worldMasterTextId, skill.id, action.amount, action.param)); } - packets.Add(BattleActionX10Packet.BuildPacket(owner.target.actorId, owner.actorId, skill.battleAnimation, skill.id, actions)); - owner.zone.BroadcastPacketsAroundActor(owner, packets); + + owner.zone.BroadcastPacketAroundActor(owner, + skill.aoeType != TargetFindAOEType.None ? (BattleActionX10Packet.BuildPacket(owner.target.actorId, owner.actorId, skill.battleAnimation, skill.id, actions)) : + BattleActionX01Packet.BuildPacket(owner.actorId, owner.actorId, target.actorId, skill.battleAnimation, actions[0].effectId, actions[0].worldMasterTextId, skill.id, actions[0].amount, actions[0].param) + ); } public override void TryInterrupt() @@ -147,5 +156,10 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state { return owner.CanWeaponSkill(target, skill, ref errorPacket); } + + public BattleCommand GetWeaponSkill() + { + return skill; + } } } diff --git a/FFXIVClassic Map Server/actors/chara/ai/utils/BattleUtils.cs b/FFXIVClassic Map Server/actors/chara/ai/utils/BattleUtils.cs index 1194d7f2..d1117348 100644 --- a/FFXIVClassic Map Server/actors/chara/ai/utils/BattleUtils.cs +++ b/FFXIVClassic Map Server/actors/chara/ai/utils/BattleUtils.cs @@ -5,12 +5,66 @@ using System.Text; using System.Threading.Tasks; using FFXIVClassic_Map_Server.Actors; +using FFXIVClassic_Map_Server.packets.send.actor; +using FFXIVClassic_Map_Server.packets.send.actor.battle; namespace FFXIVClassic_Map_Server.actors.chara.ai.utils { static class BattleUtils { - public static void DamageTarget(Character attacker, Character defender, int damage) + public static void TryAttack(Character attacker, Character defender, BattleAction action) + { + // todo: get hit rate, hit count, set hit effect + action.effectId |= (uint)(HitEffect.RecoilLv2 | HitEffect.Hit | HitEffect.HitVisual1); + + } + + public static ushort CalculateAttackDamage(Character attacker, Character defender, BattleAction action) + { + ushort damage = (ushort)(Program.Random.Next(10) * 10); + + // todo: handle all other crap before protect/stoneskin + + // todo: handle crit etc + if (defender.statusEffects.HasStatusEffect(StatusEffectId.Protect) || defender.statusEffects.HasStatusEffect(StatusEffectId.Protect2)) + { + if (action != null) + action.effectId |= (uint)HitEffect.Protect; + } + + if (defender.statusEffects.HasStatusEffect(StatusEffectId.Stoneskin)) + { + if (action != null) + action.effectId |= (uint)HitEffect.Stoneskin; + } + return damage; + } + + public static ushort CalculateSpellDamage(Character attacker, Character defender, BattleAction action) + { + ushort damage = 0; + + // todo: handle all other crap before shell/stoneskin + + if (defender.statusEffects.HasStatusEffect(StatusEffectId.Shell)) + { + // todo: shell probably only shows on magic.. + if (defender.statusEffects.HasStatusEffect(StatusEffectId.Shell)) + { + if (action != null) + action.effectId |= (uint)HitEffect.Shell; + } + } + + if (defender.statusEffects.HasStatusEffect(StatusEffectId.Stoneskin)) + { + if (action != null) + action.effectId |= (uint)HitEffect.Stoneskin; + } + return damage; + } + + public static void DamageTarget(Character attacker, Character defender, BattleAction action) { // todo: other stuff too if (defender is BattleNpc) @@ -19,15 +73,31 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.utils { ((BattleNpc)defender).hateContainer.AddBaseHate(attacker); } - ((BattleNpc)defender).hateContainer.UpdateHate(attacker, damage); + ((BattleNpc)defender).hateContainer.UpdateHate(attacker, action.amount); } - defender.DelHP((short)damage); + defender.DelHP((short)action.amount); } - public static int CalculateSpellDamage(Character attacker, Character defender, Ability spell) + public static int CalculateSpellDamage(Character attacker, Character defender, BattleCommand spell) { // todo: spell formulas and stuff (stoneskin, mods, stats, etc) return 69; } + + public static uint CalculateSpellCost(Character caster, Character target, BattleCommand spell) + { + var scaledCost = spell.CalculateCost((uint)caster.charaWork.parameterSave.state_mainSkillLevel); + + // todo: calculate cost for mob/player + if (caster.currentSubState == SetActorStatePacket.SUB_STATE_MONSTER) + { + + } + else + { + + } + return scaledCost; + } } } diff --git a/FFXIVClassic Map Server/actors/chara/npc/BattleNpc.cs b/FFXIVClassic Map Server/actors/chara/npc/BattleNpc.cs index f57acf09..f32dce66 100644 --- a/FFXIVClassic Map Server/actors/chara/npc/BattleNpc.cs +++ b/FFXIVClassic Map Server/actors/chara/npc/BattleNpc.cs @@ -13,6 +13,8 @@ using FFXIVClassic_Map_Server.actors.chara.ai.controllers; using FFXIVClassic_Map_Server.packets.send.actor; using FFXIVClassic_Map_Server.actors.chara.ai.state; using FFXIVClassic_Map_Server.utils; +using FFXIVClassic_Map_Server.packets.send.actor.battle; +using FFXIVClassic_Map_Server.actors.chara.ai.utils; namespace FFXIVClassic_Map_Server.Actors { @@ -95,19 +97,19 @@ namespace FFXIVClassic_Map_Server.Actors return true; } - public override bool CanCast(Character target, Ability spell, ref SubPacket errorPacket) + public override bool CanCast(Character target, BattleCommand spell, ref SubPacket errorPacket) { // todo: return false; } - public override bool CanWeaponSkill(Character target, Ability skill, ref SubPacket errorPacket) + public override bool CanWeaponSkill(Character target, BattleCommand skill, ref SubPacket errorPacket) { // todo: return false; } - public override bool CanUseAbility(Character target, Ability ability, ref SubPacket errorPacket) + public override bool CanUseAbility(Character target, BattleCommand ability, ref SubPacket errorPacket) { // todo: return false; @@ -183,7 +185,7 @@ namespace FFXIVClassic_Map_Server.Actors } // dont bother checking for any in-range players if going back to spawn - if (!this.isMovingToSpawn && this.aggroType != AggroType.None) + if (!this.isMovingToSpawn && this.aiContainer.pathFind.AtPoint() && this.aggroType != AggroType.None) { foreach (var player in zone.GetActorsAroundActor(this, 50)) { @@ -199,5 +201,18 @@ namespace FFXIVClassic_Map_Server.Actors { return this.isAtSpawn = Utils.DistanceSquared(positionX, positionY, positionZ, spawnX, spawnY, spawnZ) <= 2500.0f; } + + public override void OnAttack(State state, BattleAction action) + { + // player melee animation + uint battleAnimation = 0x19001000; + // todo: get hitrate and shit, handle protect effect and whatever + BattleUtils.TryAttack(this, state.GetTarget(), action); + + zone.BroadcastPacketAroundActor(this, + BattleActionX01Packet.BuildPacket(actorId, actorId, target.actorId, (uint)battleAnimation, + (uint)action.effectId, (ushort)action.worldMasterTextId, (ushort)BattleActionX01PacketCommand.Attack, (ushort)action.amount, (byte)action.param) + ); + } } } diff --git a/FFXIVClassic Map Server/actors/chara/player/Player.cs b/FFXIVClassic Map Server/actors/chara/player/Player.cs index d9b3baa4..b0bfd30b 100644 --- a/FFXIVClassic Map Server/actors/chara/player/Player.cs +++ b/FFXIVClassic Map Server/actors/chara/player/Player.cs @@ -23,6 +23,8 @@ using FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group; using FFXIVClassic_Map_Server.actors.chara.ai; using FFXIVClassic_Map_Server.actors.chara.ai.controllers; using FFXIVClassic_Map_Server.packets.send.actor.battle; +using FFXIVClassic_Map_Server.actors.chara.ai.utils; +using FFXIVClassic_Map_Server.actors.chara.ai.state; namespace FFXIVClassic_Map_Server.Actors { @@ -2016,7 +2018,7 @@ namespace FFXIVClassic_Map_Server.Actors return true; } - public override bool CanCast(Character target, Ability spell, ref SubPacket errorPacket) + public override bool CanCast(Character target, BattleCommand spell, ref SubPacket errorPacket) { // todo: move the ability specific stuff to ability.cs if (target == null) @@ -2039,7 +2041,7 @@ namespace FFXIVClassic_Map_Server.Actors return true; } - public override bool CanWeaponSkill(Character target, Ability skill, ref SubPacket errorPacket) + public override bool CanWeaponSkill(Character target, BattleCommand skill, ref SubPacket errorPacket) { // todo: see worldmaster ids 32558~32557 for proper ko message and stuff if (target == null) @@ -2061,5 +2063,24 @@ namespace FFXIVClassic_Map_Server.Actors } return true; } + + public override void OnAttack(State state, BattleAction action) + { + // melee attack animation + uint battleAnimation = 0x19001000; + + // todo: change animation based on equipped weapon + action.effectId |= (uint)HitEffect.HitVisual1; // melee + + // todo: get hitrate and shit, handle protect effect and whatever + BattleUtils.TryAttack(this, state.GetTarget(), action); + action.amount = BattleUtils.CalculateAttackDamage(this, state.GetTarget(), action); + //var packet = BattleActionX01Packet.BuildPacket(owner.actorId, owner.actorId, target.actorId, (uint)0x19001000, (uint)0x8000604, (ushort)0x765D, (ushort)BattleActionX01PacketCommand.Attack, (ushort)damage, (byte)0x1); + + zone.BroadcastPacketAroundActor(this, BattleActionX01Packet.BuildPacket(actorId, actorId, action.targetId, (uint)battleAnimation, + 0x8000000 | action.effectId, (ushort)action.worldMasterTextId, (ushort)BattleActionX01PacketCommand.Attack, (ushort)action.amount, (byte)action.param) + ); + + } } } diff --git a/FFXIVClassic Map Server/lua/LuaEngine.cs b/FFXIVClassic Map Server/lua/LuaEngine.cs index 01322ce9..26601f6e 100644 --- a/FFXIVClassic Map Server/lua/LuaEngine.cs +++ b/FFXIVClassic Map Server/lua/LuaEngine.cs @@ -191,12 +191,16 @@ namespace FFXIVClassic_Map_Server.lua return (int)res.Number; } } + else + { + Program.Log.Error($"LuaEngine.CallLuaStatusEffectFunction [{effect.GetName()}] Unable to find script {path}"); + } return -1; } - public static int CallLuaAbilityFunction(Character actor, Ability ability, string folder, string functionName, params object[] args) + public static int CallLuaBattleCommandFunction(Character actor, BattleCommand command, string folder, string functionName, params object[] args) { - string path = $"./scripts/{folder}/{ability.name}.lua"; + string path = $"./scripts/commands/{folder}/{command.name}.lua"; if (File.Exists(path)) { @@ -208,7 +212,7 @@ namespace FFXIVClassic_Map_Server.lua } catch (Exception e) { - Program.Log.Error($"LuaEngine.CallLuaSpellFunction [{functionName}] {e.Message}"); + Program.Log.Error($"LuaEngine.CallLuaBattleCommandFunction [{functionName}] {e.Message}"); } DynValue res = new DynValue(); @@ -219,6 +223,10 @@ namespace FFXIVClassic_Map_Server.lua return (int)res.Number; } } + else + { + Program.Log.Error($"LuaEngine.CallLuaBattleCommandFunction [{command.name}] Unable to find script {path}"); + } return -1; } diff --git a/data/scripts/spells/blizzara.lua b/data/scripts/commands/magic/blizzara.lua similarity index 60% rename from data/scripts/spells/blizzara.lua rename to data/scripts/commands/magic/blizzara.lua index 72ccc0bd..256cb6fb 100644 --- a/data/scripts/spells/blizzara.lua +++ b/data/scripts/commands/magic/blizzara.lua @@ -1,16 +1,18 @@ -function onSpellPrepare(caster, target, spell) +function onMagicPrepare(caster, target, spell) return 0; end; -function onSpellStart(caster, target, spell) +function onMagicStart(caster, target, spell) return 0; end; -function onSpellFinish(caster, target, spell, action) +function onMagicFinish(caster, target, spell, action) local damage = math.random(10, 100); print("fuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuckkk") action.param = damage; + action.effectId = bit32.bxor(0x8000000, spell.effectAnimation, 15636); + if target.hateContainer then target.hateContainer.AddBaseHate(caster); target.hateContainer.UpdateHate(caster, damage); diff --git a/data/scripts/spells/thunder.lua b/data/scripts/commands/magic/thunder.lua similarity index 58% rename from data/scripts/spells/thunder.lua rename to data/scripts/commands/magic/thunder.lua index 1418061a..b5b3a5f9 100644 --- a/data/scripts/spells/thunder.lua +++ b/data/scripts/commands/magic/thunder.lua @@ -1,15 +1,16 @@ -function onSpellPrepare(caster, target, spell) +function onMagicPrepare(caster, target, spell) return 0; end; -function onSpellStart(caster, target, spell) +function onMagicStart(caster, target, spell) return 0; end; -function onSpellFinish(caster, target, spell, action) +function onMagicFinish(caster, target, spell, action) local damage = math.random(10, 100); print("fuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuckkk") + action.effectId = bit32.bxor(0x8000000, spell.effectAnimation, 15636); if target.hateContainer then target.hateContainer.AddBaseHate(caster); target.hateContainer.UpdateHate(caster, damage); diff --git a/research/worldMasterTextIds.txt b/research/worldMasterTextIds.txt new file mode 100644 index 00000000..82d75096 --- /dev/null +++ b/research/worldMasterTextIds.txt @@ -0,0 +1,129 @@ +# battle commands +## general +30101 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),use,uses)] [@SHEET(xtx/command,$E8(1),3)]. +30102 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),use,uses)] [@SHEET(xtx/command,$E8(1),3)] again. +30103 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),switch,switches)] to [@SHEET(xtx/text_jobName,$E8(3),1)]. +30104 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])]'s group has been engaged. +30105 Readying [@SHEET(xtx/command,$E8(1),3)]... +30106 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),begin,begins)] casting [@SHEET(xtx/command,$E8(1),3)]. +30107 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),fall,falls)] to the ground. +30108 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),defeat,defeats)] [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30109 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),regain,regains)] consciousness. +30110 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])]'s party is defeated. +30111 [@IF($E4($EB(1),$EB(3)),Your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] party is defeated. +30112 [@2B([@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)])] [@SHEET(xtx/text_partsName,$E8(12),1)] incapacitated. +30113 [@2B([@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)])] [@SHEET(xtx/text_partsName,$E8(12),1)] no longer incapacitated. +30114 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),fall,falls)] to the ground. +30115 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),fall,falls)] to the ground. +30116 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),defeat,defeats)] [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30117 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),defeat,defeats)] [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30118 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])]'s group is engaged. +30119 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])]'s group is defeated. +30120 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] is engaged. +30121 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] is defeated. +30122 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] is engaged. +30123 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] is defeated. +30124 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] is aware of your presence. +30125 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] is defeated. +30126 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),ready,readies)] [@SHEET(xtx/command,$E8(1),3)]. +30127 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),ready,readies)] [@SHEET(xtx/command,$E8(1),3)]. +30128 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),begin,begins)] casting [@SHEET(xtx/command,$E8(1),3)]. +30129 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),call,calls)] for help. [@IF($E4($E8(12),1),Another enemy joins,[@2B([@IF($E5($E8(12),0),[@IF($E2($E8(12),10),[@SWITCH($E8(12),one,two,three,four,five,six,seven,eight,nine,ten)],[@VALUE($E8(12))])],[@VALUE($E8(12))])])] more enemies join)] the fight! + +## combat +30201 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),interrupt,interrupts)] the [@SHEET(xtx/command,$E8(10),2)]. +30202 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] fails. +30203 Invalid target. [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] fails. +30204 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] cannot use that weaponskill at this time. +30205 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] cannot use that ability at this time. +30206 Target not in line of sight. [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] fails. +30207 Target out of range. [@IF($E4($E8(1),12004),Battle Regimen cannot be begun,[@SHEET(xtx/command,$E8(1),3)] fails)]. +30208 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),use,uses)] [@SHEET(xtx/command,$E8(1),3)] on [@IF($E4($EB(2),$EB(3)),[@IF($E4($EB(1),$EB(2)),yourself,[@IF($E9(6),herself,himself)])],[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])], but [@IF($E4($EB(1),$EB(2)),fail,fails)]. +30209 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] fails. +30210 Unable to claim [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. Party leader is in a different area. +30211 You cannot cast spells while moving. +30301 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] hits [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])][@IF($E2($E8(12),1),, from the [@SHEET(xtx/text_directName,$E8(12),1)])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30302 Critical! [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] hits [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])][@IF($E2($E8(12),1),, from the [@SHEET(xtx/text_directName,$E8(12),1)])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30303 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] hits [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] [@SHEET(xtx/text_partsName,$E8(12),2)] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30304 Critical! [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] hits [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] [@SHEET(xtx/text_partsName,$E8(12),2)] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30305 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])][@IF($E4($E8(10),0),, partially)] [@IF($E4($EB(1),$EB(3)),block,blocks)] [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] [@SHEET(xtx/command,$E8(1),3)][@IF($E2($E8(12),1),, from the [@SHEET(xtx/text_directName,$E8(12),1)])], taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30306 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])][@IF($E4($E8(10),0),, partially)] [@IF($E4($EB(1),$EB(3)),block,blocks)] [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] [@SHEET(xtx/command,$E8(1),3)][@IF($E2($E8(12),1),, from the [@SHEET(xtx/text_directName,$E8(12),1)])], taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30307 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])][@IF($E4($E8(10),0),, partially)] [@IF($E4($EB(1),$EB(3)),block,blocks)] [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] [@SHEET(xtx/command,$E8(1),3)][@IF($E2($E8(12),1),, from the [@SHEET(xtx/text_directName,$E8(12),1)])], taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30308 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])][@IF($E4($E8(10),0),, partially)] [@IF($E4($EB(1),$EB(3)),parry,parries)] [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] [@SHEET(xtx/command,$E8(1),3)][@IF($E2($E8(12),1),, from the [@SHEET(xtx/text_directName,$E8(12),1)])], taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30309 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])][@IF($E4($E8(10),0),, partially)] [@IF($E4($EB(1),$EB(3)),parry,parries)] [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] [@SHEET(xtx/command,$E8(1),3)][@IF($E2($E8(12),1),, from the [@SHEET(xtx/text_directName,$E8(12),1)])], taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30310 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),evade,evades)] [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] [@SHEET(xtx/command,$E8(1),3)]. +30311 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] misses[@IF($E4($EB(2),$EB(3)),[@IF($E4($E9(7),$E9(8)),, [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])], [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])][@IF($E2($E8(12),1),, from the [@SHEET(xtx/text_directName,$E8(12),1)])]. +30312 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),are,is)] obstructing [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] [@SHEET(xtx/command,$E8(1),3)]. +30313 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] hits [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])][@IF($E2($E8(12),1),, from the[@SHEET(xtx/text_directName,$E8(12),1)])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30314 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),are,is)] impervious to [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s [@SHEET(xtx/command,$E8(1),3)]. +30315 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] hits [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])][@IF($E2($E8(12),1),, from the [@SHEET(xtx/text_directName,$E8(12),1)])]. +30316 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),evade,evades)] [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] [@SHEET(xtx/command,$E8(1),3)][@IF($E4($E8(10),0),.,, taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage.)] +30317 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] partially [@IF($E4($EB(1),$EB(3)),evade,evades)] [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] [@SHEET(xtx/command,$E8(1),3)], taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30318 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] slightly [@IF($E4($EB(1),$EB(3)),evade,evades)] [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] [@SHEET(xtx/command,$E8(1),3)], taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30319 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] hits [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30320 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),use,uses)] [@IF($E4($E8(1),21007),[@SWITCH([@SHEET(itemData,$E8(3),41)],[@COLOR(#fff3f3f3)],[@COLOR(#ffc0ffa0)],[@COLOR(#ff60c8ff)],[@COLOR(#ffb38cff)],[@COLOR(#ffffa666)],[@COLOR(#ffe5dd7e)])][@EDGECOLOR(#ff262626)][@SHEETEN(xtx/itemName,1,$E8(3),1,1)][@EDGECOLOR($EC)][@COLOR($EC)],[@SHEET(xtx/command,$E8(1),3)])][@IF($E4($EB(1),$EB(3)),, on [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])]. [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),recover,recovers)] [@VALUE($E8(10))] HP. +30321 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),use,uses)] [@IF($E4($E8(1),21007),[@SWITCH([@SHEET(itemData,$E8(3),41)],[@COLOR(#fff3f3f3)],[@COLOR(#ffc0ffa0)],[@COLOR(#ff60c8ff)],[@COLOR(#ffb38cff)],[@COLOR(#ffffa666)],[@COLOR(#ffe5dd7e)])][@EDGECOLOR(#ff262626)][@SHEETEN(xtx/itemName,1,$E8(3),1,1)][@EDGECOLOR($EC)][@COLOR($EC)],[@SHEET(xtx/command,$E8(1),3)])][@IF($E4($EB(1),$EB(3)),, on [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])]. [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),recover,recovers)] [@VALUE($E8(10))] MP. +30322 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),use,uses)] [@IF($E4($E8(1),21007),[@SWITCH([@SHEET(itemData,$E8(3),41)],[@COLOR(#fff3f3f3)],[@COLOR(#ffc0ffa0)],[@COLOR(#ff60c8ff)],[@COLOR(#ffb38cff)],[@COLOR(#ffffa666)],[@COLOR(#ffe5dd7e)])][@EDGECOLOR(#ff262626)][@SHEETEN(xtx/itemName,1,$E8(3),1,1)][@EDGECOLOR($EC)][@COLOR($EC)],[@SHEET(xtx/command,$E8(1),3)])][@IF($E4($EB(1),$EB(3)),, on [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])]. [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),recover,recovers)] [@VALUE($E8(10))] MP. +30323 Additional effect: [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage dealt. +30328 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] [@SHEET(xtx/status,$E8(11),5)]. +30329 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] removes [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] [@SHEET(xtx/status,$E8(11),3)] effect. +30330 [@SHEET(xtx/status,$E8(11),2)]. +30331 [@SHEET(xtx/status,$E8(11),4)]. +30332 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),absorb,absorbs)] [@VALUE($E8(10))] HP from [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30333 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),absorb,absorbs)] [@VALUE($E8(10))] MP from [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30334 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),absorb,absorbs)] [@VALUE($E8(10))] TP from [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30335 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] [@SHEET(xtx/status,$E8(11),5)]. +30336 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] removes [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] [@SHEET(xtx/status,$E8(11),3)] effect. +30337 [@SHEET(xtx/status,$E8(11),2)]. +30338 [@SHEET(xtx/status,$E8(11),4)]. +30339 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),absorb,absorbs)] [@VALUE($E8(10))] HP from [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]. +30340 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),absorb,absorbs)] [@VALUE($E8(10))] MP from [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]. +30350 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),hit,hits)] [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30351 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),absorb,absorbs)] [@VALUE($E8(10))] MP from [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30352 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] attack hits [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30353 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),steal,steals)] an item from [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]! +30354 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),use,uses)] [@SHEET(xtx/command,$E8(1),3)] on [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30355 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),expend,expends)] [@VALUE($E8(10))] HP searching for projectiles. +30356 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),use,uses)] [@SHEET(xtx/command,$E8(1),3)] on [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),lose,loses)] [@VALUE($E8(10))] MP. +30357 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),use,uses)] [@SHEET(xtx/command,$E8(1),3)] on [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),lose,loses)] [@VALUE($E8(10))] TP. +30358 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),cover,covers)] [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])], taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30359 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),use,uses)] [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])] as a shield, diverting [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30360 [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),use,uses)] [@SHEET(xtx/command,$E8(1),3)] on [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])], but it was only a [@IF($E0($E8(1),27605),diversion,decoy)]. +30361 Counter! [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),hit,hits)] [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30362 Critical counter! [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),hit,hits)] [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30363 Counter! [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),hit,hits)] [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30364 Critical counter! [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),hit,hits)] [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30365 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($E8(10),0),,partially)] [@IF($E4($EB(1),$EB(3)),block,blocks)] [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] counter, taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30366 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($E8(10),0),,partially)] [@IF($E4($EB(1),$EB(3)),block,blocks)] [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] counter, taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30367 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($E8(10),0),,partially)] [@IF($E4($EB(1),$EB(3)),block,blocks)] [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] counter, taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30368 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($E8(10),0),,partially)] [@IF($E4($EB(1),$EB(3)),parry,parries)] [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] counter, taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30369 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($E8(10),0),,partially)] [@IF($E4($EB(1),$EB(3)),parry,parries)] [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] counter, taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30370 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),evade,evades)] [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] attack. +30371 Counter! [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),miss,misses)] [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]. +30372 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),disrupt,disrupts)] [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] attack. +30373 Counter! [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),hit,hits)] [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30374 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),anticipate,anticipates)] [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] attack. +30375 Counter! [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),hit,hits)] [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]. +30376 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($EB(1),$EB(2)),evade,evades)] [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] attack, taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30377 Counter![@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] partially [@IF($E4($EB(1),$EB(2)),evade,evades)] [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] attack, taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30378 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] slightly [@IF($E4($EB(1),$EB(2)),evade,evades)] [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] attack, taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30379 Counter! [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($EB(1),$EB(3)),hit,hits)] [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30380 Counter! [@2B([@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)])] attack causes [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] to restores [@VALUE($E8(10))] HP. +30381 Counter! [@2B([@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)])] attack causes [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] to restores [@VALUE($E8(10))] MP. +30382 Counter! [@2B([@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)])] attack causes [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] to gain [@VALUE($E8(10))] TP. +30383 Counter! [@2B([@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)])] attack causes [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] to lose [@VALUE($E8(10))] MP. +30384 Counter! [@2B([@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)])] attack causes [@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])] to lose [@VALUE($E8(10))] TP. +30385 [@2B([@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)])] TP is now 0. +30386 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] removes [@VALUE($E8(10))] [@IF($E4($E8(10),1),status,statuses)] from [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30387 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] places [@VALUE($E8(10))] [@IF($E4($E8(10),1),status,statuses)] on [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30388 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] absorbs [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] [@SHEET(xtx/status,$E8(11),3)]. +30389 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] transfers [@SHEET(xtx/status,$E8(11),3)] to [@IF($E4($EB(1),$EB(3)),you,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])]. +30390 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] absorbs [@VALUE($E8(10))] of [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] status effects. +30391 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] transfers [@VALUE($E8(10))] status effects to [@IF($E4($EB(1),$EB(3)),you,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])]. +30392 Critical! [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] hits [@IF($E4($EB(1),$EB(3)),you,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] for [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage. +30393 [@2B([@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])])] [@IF($E4($E8(10),0),blocks,partially blocks)] [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] [@SHEET(xtx/command,$E8(1),3)][@IF($E2($E8(12),1),, from the [@SHEET(xtx/text_directName,$E8(12),1)])][@IF($E4($E8(10),0),.,, taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage.)] +30394 Counter! [@2B([@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])])] [@IF($E4($E8(10),0),blocks,partially blocks)] [@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)] counter[@IF($E4($E8(10),0),.,, taking [@VALUE($E8(10))] [@IF($E4($E8(10),1),point,points)] of damage.)] +30395 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] absorbs [@VALUE($E8(10))] HP from [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30396 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] absorbs [@VALUE($E8(10))] MP from [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30397 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] absorbs [@VALUE($E8(10))] TP from [@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]. +30398 [@2B([@IF($E4($EB(1),$EB(2)),your,[@IF($E4($EB(1),$EB(2)),you,[@IF($E9(7),[@SHEETEN(xtx/displayName,2,$E9(7),1,1)],$EB(2))])]'s)])] [@SHEET(xtx/command,$E8(1),3)] reduces [@IF($E4($EB(1),$EB(3)),your,[@IF($E4($EB(1),$EB(3)),you,[@IF($E9(8),[@SHEETEN(xtx/displayName,2,$E9(8),1,1)],$EB(3))])]'s)] TP to 0. diff --git a/sql/abilities.sql b/sql/abilities.sql deleted file mode 100644 index e729ad2d..00000000 --- a/sql/abilities.sql +++ /dev/null @@ -1,214 +0,0 @@ --- MySQL dump 10.13 Distrib 5.7.18, for Win64 (x86_64) --- --- Host: localhost Database: ffxiv_server --- ------------------------------------------------------ --- Server version 5.7.18-log - -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8 */; -/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; -/*!40103 SET TIME_ZONE='+00:00' */; -/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; -/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; -/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; - --- --- Table structure for table `abilities` --- - -DROP TABLE IF EXISTS `abilities`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `abilities` ( - `id` smallint(5) unsigned NOT NULL, - `name` varchar(255) NOT NULL, - `classJob` tinyint(3) unsigned NOT NULL, - `lvl` tinyint(3) unsigned NOT NULL, - `requirements` smallint(5) unsigned NOT NULL, - `validTarget` tinyint(3) unsigned NOT NULL, - `aoeType` tinyint(3) unsigned NOT NULL, - `numHits` tinyint(3) unsigned NOT NULL, - `positionBonus` tinyint(3) unsigned NOT NULL, - `procRequirement` tinyint(3) unsigned NOT NULL, - `range` int(10) unsigned NOT NULL, - `buffDuration` int(10) unsigned NOT NULL, - `debuffDuration` int(10) unsigned NOT NULL, - `castType` tinyint(3) unsigned NOT NULL, - `castTime` int(10) unsigned NOT NULL, - `recastTime` int(10) unsigned NOT NULL, - `mpCost` smallint(5) unsigned NOT NULL, - `tpCost` smallint(5) unsigned NOT NULL, - `animationType` tinyint(3) unsigned NOT NULL, - `effectAnimation` smallint(5) unsigned NOT NULL, - `modelAnimation` smallint(5) unsigned NOT NULL, - `animationDuration` smallint(5) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `abilities` --- - -LOCK TABLES `abilities` WRITE; -/*!40000 ALTER TABLE `abilities` DISABLE KEYS */; -set autocommit=0; -INSERT INTO `abilities` VALUES (27100,'second_wind',2,6,3,1,0,1,0,0,5,0,0,0,0,45,0,0,14,519,2,2); -INSERT INTO `abilities` VALUES (27101,'blindside',2,14,3,1,0,1,0,0,5,0,60,0,0,60,0,0,14,635,2,2); -INSERT INTO `abilities` VALUES (27102,'taunt',2,42,4,32,0,1,0,0,5,5,0,0,0,60,0,0,14,517,2,2); -INSERT INTO `abilities` VALUES (27103,'featherfoot',2,2,3,1,0,1,0,0,5,0,30,0,0,60,0,0,14,535,2,2); -INSERT INTO `abilities` VALUES (27104,'fists_of_fire',2,34,4,1,0,1,0,0,5,0,0,0,0,10,0,0,14,684,2,2); -INSERT INTO `abilities` VALUES (27105,'fists_of_earth',2,22,4,1,0,1,0,0,5,0,0,0,0,10,0,0,14,685,2,2); -INSERT INTO `abilities` VALUES (27106,'hundred_fists',15,50,0,0,0,1,0,0,5,0,0,0,0,900,0,0,14,712,2,2); -INSERT INTO `abilities` VALUES (27107,'spinning_heel',15,35,0,0,0,1,0,0,5,0,0,0,0,120,0,0,14,718,2,2); -INSERT INTO `abilities` VALUES (27108,'shoulder_tackle',15,30,0,0,0,1,0,0,5,0,0,0,0,60,0,0,18,1048,205,2); -INSERT INTO `abilities` VALUES (27109,'fists_of_wind',15,40,0,0,0,1,0,0,5,0,0,0,0,10,0,0,14,720,2,2); -INSERT INTO `abilities` VALUES (27110,'pummel',2,1,1,32,0,1,1,0,5,0,0,0,0,10,0,1000,18,1027,1,2); -INSERT INTO `abilities` VALUES (27111,'concussive_blow',2,10,1,32,0,1,4,0,5,30,0,0,0,30,0,1500,18,20,3,2); -INSERT INTO `abilities` VALUES (27112,'simian_thrash',2,50,4,32,0,1,0,0,5,0,0,0,0,80,0,2000,18,1003,202,2); -INSERT INTO `abilities` VALUES (27113,'aura_pulse',2,38,4,32,1,1,0,0,5,30,0,0,0,40,0,1500,18,66,203,2); -INSERT INTO `abilities` VALUES (27114,'pounce',2,4,4,32,0,1,2,0,5,10,0,0,0,20,0,1500,18,8,3,2); -INSERT INTO `abilities` VALUES (27115,'demolish',2,30,1,32,0,1,0,0,5,0,0,0,0,30,0,1500,18,1028,2,2); -INSERT INTO `abilities` VALUES (27116,'howling_fist',2,46,4,32,0,1,4,0,5,0,0,0,0,80,0,3000,18,1029,2,2); -INSERT INTO `abilities` VALUES (27117,'sucker_punch',2,26,1,32,0,1,4,0,5,0,0,0,0,15,0,1000,18,73,3,2); -INSERT INTO `abilities` VALUES (27118,'dragon_kick',15,45,0,0,0,1,0,0,5,0,0,0,0,60,0,2000,18,1041,204,2); -INSERT INTO `abilities` VALUES (27119,'haymaker',2,18,4,32,0,1,0,1,5,0,0,0,0,5,0,250,18,23,201,2); -INSERT INTO `abilities` VALUES (27140,'sentinel',3,22,3,1,0,1,0,0,5,0,15,0,0,90,0,0,14,526,2,2); -INSERT INTO `abilities` VALUES (27141,'aegis_boon',3,6,8,1,0,1,0,0,5,0,30,0,0,60,0,0,14,583,21,2); -INSERT INTO `abilities` VALUES (27142,'rampart',3,2,3,1,0,1,0,2,5,0,60,0,0,120,0,0,14,536,2,2); -INSERT INTO `abilities` VALUES (27143,'tempered_will',3,42,8,1,0,1,0,0,5,0,20,0,0,180,0,0,14,515,2,2); -INSERT INTO `abilities` VALUES (27144,'outmaneuver',3,34,8,1,0,1,0,0,5,0,30,0,0,90,0,0,14,512,21,2); -INSERT INTO `abilities` VALUES (27145,'flash',3,14,3,32,0,1,0,0,5,0,0,0,0,30,0,0,14,696,2,2); -INSERT INTO `abilities` VALUES (27146,'cover',16,30,0,0,0,1,0,0,5,0,15,0,0,60,0,0,14,725,2,2); -INSERT INTO `abilities` VALUES (27147,'divine_veil',16,35,0,0,0,1,0,0,5,0,20,0,0,60,0,0,14,713,2,2); -INSERT INTO `abilities` VALUES (27148,'hallowed_ground',16,50,0,0,0,1,0,0,5,0,0,0,0,900,0,0,14,709,2,2); -INSERT INTO `abilities` VALUES (27149,'holy_succor',16,40,0,0,0,1,0,0,15,0,0,0,2,10,100,0,1,701,1,2); -INSERT INTO `abilities` VALUES (27150,'fast_blade',3,1,1,32,0,1,1,0,5,0,0,0,0,10,0,1000,18,1023,1,2); -INSERT INTO `abilities` VALUES (27151,'flat_blade',3,26,1,32,0,1,0,0,5,0,0,0,0,10,0,1500,18,1024,2,2); -INSERT INTO `abilities` VALUES (27152,'savage_blade',3,10,1,32,0,1,0,0,5,0,0,0,0,30,0,1000,18,1025,1,2); -INSERT INTO `abilities` VALUES (27153,'goring_blade',3,50,8,32,0,1,2,0,5,30,0,0,0,60,0,3000,18,1026,301,2); -INSERT INTO `abilities` VALUES (27154,'riot_blade',3,30,8,32,0,1,2,0,5,30,0,0,0,80,0,2000,18,75,2,2); -INSERT INTO `abilities` VALUES (27155,'rage_of_halone',3,46,8,32,0,1,0,0,5,0,0,0,0,20,0,1500,18,1008,302,2); -INSERT INTO `abilities` VALUES (27156,'shield_bash',3,18,17,32,0,1,0,0,5,5,0,0,0,30,0,250,18,5,26,2); -INSERT INTO `abilities` VALUES (27157,'war_drum',3,38,24,32,1,1,0,2,5,0,0,0,0,60,0,500,14,502,21,2); -INSERT INTO `abilities` VALUES (27158,'phalanx',3,4,8,1,0,1,0,0,5,0,0,0,0,5,0,250,18,32,1,2); -INSERT INTO `abilities` VALUES (27159,'spirits_within',16,45,0,0,0,1,0,0,5,0,0,0,0,60,0,3000,18,1044,304,2); -INSERT INTO `abilities` VALUES (27180,'provoke',4,14,3,32,0,1,0,0,5,0,0,0,0,30,0,0,14,600,2,2); -INSERT INTO `abilities` VALUES (27181,'foresight',4,2,3,1,0,1,0,0,5,0,30,0,0,60,0,0,14,545,2,2); -INSERT INTO `abilities` VALUES (27182,'bloodbath',4,6,3,1,0,1,0,0,5,0,30,0,0,60,0,0,14,581,2,2); -INSERT INTO `abilities` VALUES (27183,'berserk',4,22,32,1,0,1,0,0,5,0,0,0,0,10,0,0,14,682,2,2); -INSERT INTO `abilities` VALUES (27184,'rampage',4,34,32,1,0,1,0,0,5,0,0,0,0,10,0,0,14,546,2,2); -INSERT INTO `abilities` VALUES (27185,'enduring_march',4,42,32,1,0,1,0,0,5,0,20,0,0,180,0,0,14,539,2,2); -INSERT INTO `abilities` VALUES (27186,'vengeance',17,30,0,1,0,1,0,0,5,0,0,0,0,150,0,0,14,714,2,2); -INSERT INTO `abilities` VALUES (27187,'antagonize',17,35,0,1,0,1,0,0,5,0,0,0,0,120,0,0,14,715,2,2); -INSERT INTO `abilities` VALUES (27188,'collusion',17,40,0,4,0,1,0,0,5,0,0,0,0,90,0,0,14,711,2,2); -INSERT INTO `abilities` VALUES (27189,'mighty_strikes',17,50,0,1,0,1,0,0,5,0,0,0,0,900,0,0,14,716,2,2); -INSERT INTO `abilities` VALUES (27190,'heavy_swing',4,1,1,32,0,1,1,0,5,0,0,0,0,10,0,1000,18,14,1,2); -INSERT INTO `abilities` VALUES (27191,'skull_sunder',4,10,1,32,0,1,0,0,5,0,0,0,0,30,0,1500,18,43,1,2); -INSERT INTO `abilities` VALUES (27192,'steel_cyclone',17,45,0,32,1,1,0,0,5,0,0,0,0,30,0,2000,18,1040,404,2); -INSERT INTO `abilities` VALUES (27193,'brutal_swing',4,4,1,32,0,1,4,0,5,0,0,0,0,20,0,1500,18,15,3,2); -INSERT INTO `abilities` VALUES (27194,'maim',4,26,1,32,0,1,0,0,5,0,0,0,0,30,0,1500,18,88,1,2); -INSERT INTO `abilities` VALUES (27195,'godsbane',4,50,32,32,0,1,0,0,5,0,0,0,0,60,0,3000,18,1014,402,2); -INSERT INTO `abilities` VALUES (27196,'path_of_the_storm',4,38,32,32,0,1,2,0,5,0,0,0,0,30,0,1500,18,44,401,2); -INSERT INTO `abilities` VALUES (27197,'whirlwind',4,46,32,32,1,1,0,0,5,0,0,0,0,80,0,3000,18,1015,403,2); -INSERT INTO `abilities` VALUES (27198,'fracture',4,18,32,32,0,1,0,4,5,8,0,0,0,40,0,500,18,42,3,2); -INSERT INTO `abilities` VALUES (27199,'overpower',4,30,1,32,2,1,0,4,5,0,0,0,0,5,0,250,18,89,1,2); -INSERT INTO `abilities` VALUES (27220,'hawks_eye',7,6,3,1,0,1,0,0,5,0,15,0,0,90,0,0,14,516,2,2); -INSERT INTO `abilities` VALUES (27221,'quelling_strikes',7,22,3,1,0,1,0,0,5,30,0,0,0,60,0,0,14,614,2,2); -INSERT INTO `abilities` VALUES (27222,'decoy',7,2,3,1,0,1,0,0,15,0,60,0,0,90,100,0,14,565,2,2); -INSERT INTO `abilities` VALUES (27223,'chameleon',7,42,3,1,0,1,0,0,5,0,0,0,0,180,0,0,14,504,2,2); -INSERT INTO `abilities` VALUES (27224,'barrage',7,34,64,1,0,1,0,0,5,0,60,0,0,90,0,0,14,683,2,2); -INSERT INTO `abilities` VALUES (27225,'raging_strikes',7,14,64,1,0,1,0,0,5,0,0,0,0,10,0,0,14,632,2,2); -INSERT INTO `abilities` VALUES (27226,'swiftsong',7,26,64,1,1,1,0,0,15,0,180,0,0,10,100,0,1,150,1,2); -INSERT INTO `abilities` VALUES (27227,'battle_voice',18,50,0,1,1,1,0,0,5,0,0,0,0,900,0,0,14,721,2,2); -INSERT INTO `abilities` VALUES (27228,'heavy_shot',7,1,1,32,0,1,0,0,5,0,0,0,0,10,0,1000,18,1036,4,2); -INSERT INTO `abilities` VALUES (27229,'leaden_arrow',7,10,1,32,0,1,0,0,5,30,0,0,0,30,0,1500,18,1035,4,2); -INSERT INTO `abilities` VALUES (27230,'wide_volley',7,50,64,32,1,1,0,0,5,0,0,0,0,80,0,2000,18,18,703,2); -INSERT INTO `abilities` VALUES (27231,'quick_nock',7,38,64,32,2,1,0,0,5,0,0,0,0,180,0,1000,18,1017,702,2); -INSERT INTO `abilities` VALUES (27232,'rain_of_death',18,45,0,32,1,1,0,0,5,0,0,0,0,30,0,3000,18,1037,704,2); -INSERT INTO `abilities` VALUES (27233,'piercing_arrow',7,4,1,32,0,1,0,0,5,0,0,0,0,20,0,1000,18,1038,1,2); -INSERT INTO `abilities` VALUES (27234,'gloom_arrow',7,30,1,32,0,1,0,0,5,30,0,0,0,10,0,1000,18,1039,4,2); -INSERT INTO `abilities` VALUES (27235,'bloodletter',7,46,64,32,0,1,0,0,5,30,0,0,0,80,0,1500,18,53,701,2); -INSERT INTO `abilities` VALUES (27236,'shadowbind',7,18,64,32,0,1,0,0,5,30,0,0,0,40,0,250,18,17,4,2); -INSERT INTO `abilities` VALUES (27237,'ballad_of_magi',18,30,0,1,1,1,0,0,15,0,0,0,3,10,100,0,1,709,1,2); -INSERT INTO `abilities` VALUES (27238,'paeon_of_war',18,40,0,1,1,1,0,0,15,0,0,0,3,10,50,1000,1,710,1,2); -INSERT INTO `abilities` VALUES (27239,'minuet_of_rigor',18,35,0,1,1,1,0,0,15,0,0,0,3,10,100,0,1,711,1,2); -INSERT INTO `abilities` VALUES (27258,'refill',7,1,0,1,0,1,0,0,5,0,0,0,0,0,0,0,0,0,0,2); -INSERT INTO `abilities` VALUES (27259,'light_shot',7,1,0,32,0,1,0,0,5,0,0,0,0,0,0,0,0,0,0,2); -INSERT INTO `abilities` VALUES (27260,'invigorate',8,14,3,1,0,1,0,0,5,0,30,0,0,90,0,0,14,575,2,2); -INSERT INTO `abilities` VALUES (27261,'power_surge',8,34,128,1,0,1,0,0,5,0,0,0,0,10,0,0,14,686,2,2); -INSERT INTO `abilities` VALUES (27262,'life_surge',8,22,128,1,0,1,0,0,5,0,0,0,0,15,0,250,14,687,2,2); -INSERT INTO `abilities` VALUES (27263,'dread_spike',8,42,128,1,0,1,0,0,5,0,0,0,0,120,0,0,14,686,2,2); -INSERT INTO `abilities` VALUES (27264,'blood_for_blood',8,6,3,1,0,1,0,0,5,0,0,0,0,60,0,0,14,689,2,2); -INSERT INTO `abilities` VALUES (27265,'keen_flurry',8,26,3,1,0,1,0,0,5,0,0,0,0,90,0,0,14,569,2,2); -INSERT INTO `abilities` VALUES (27266,'jump',19,30,0,32,0,1,0,0,5,0,0,0,0,60,0,0,18,1045,804,2); -INSERT INTO `abilities` VALUES (27267,'elusive_jump',19,40,0,1,0,1,0,0,5,0,0,0,0,180,0,0,18,1046,806,2); -INSERT INTO `abilities` VALUES (27268,'dragonfire_dive',19,50,0,32,1,1,0,0,5,0,0,0,0,900,0,0,18,1045,804,2); -INSERT INTO `abilities` VALUES (27269,'true_thrust',8,1,1,32,0,1,1,0,5,0,0,0,0,10,0,1000,18,1030,2,2); -INSERT INTO `abilities` VALUES (27270,'leg_sweep',8,30,1,32,1,1,0,0,5,8,0,0,0,30,0,1000,18,37,1,2); -INSERT INTO `abilities` VALUES (27271,'doom_spike',8,46,128,32,3,1,0,0,5,0,0,0,0,60,0,3000,18,83,801,2); -INSERT INTO `abilities` VALUES (27272,'disembowel',19,35,0,32,0,1,0,0,5,0,0,0,0,30,0,750,18,1042,2,2); -INSERT INTO `abilities` VALUES (27273,'heavy_thrust',8,10,1,32,0,1,0,0,5,4,0,0,0,20,0,1500,18,1031,1,2); -INSERT INTO `abilities` VALUES (27274,'vorpal_thrust',8,2,1,32,0,1,2,0,5,0,0,0,0,20,0,1500,18,1032,2,2); -INSERT INTO `abilities` VALUES (27275,'impulse_drive',8,18,1,32,0,1,4,0,5,0,0,0,0,30,0,1500,18,1033,2,2); -INSERT INTO `abilities` VALUES (27276,'chaos_thrust',8,50,128,32,0,1,0,0,5,0,0,0,0,80,0,3000,18,40,802,2); -INSERT INTO `abilities` VALUES (27277,'ring_of_talons',19,45,0,32,1,1,0,0,5,0,0,0,0,60,0,2000,18,1009,803,2); -INSERT INTO `abilities` VALUES (27278,'feint',8,4,1,32,0,1,0,8,5,0,0,0,0,10,0,250,18,39,2,2); -INSERT INTO `abilities` VALUES (27279,'full_thrust',8,38,128,32,0,1,0,8,5,0,0,0,0,30,0,250,18,1034,801,2); -INSERT INTO `abilities` VALUES (27300,'dark_seal',22,14,3,1,0,1,0,0,5,0,30,0,0,90,0,0,14,518,2,2); -INSERT INTO `abilities` VALUES (27301,'resonance',22,22,3,1,0,1,0,0,5,0,30,0,0,90,0,0,14,669,2,2); -INSERT INTO `abilities` VALUES (27302,'excruciate',22,38,256,1,0,1,0,0,5,0,30,0,0,90,0,0,14,694,2,2); -INSERT INTO `abilities` VALUES (27303,'necrogenesis',22,6,3,1,0,1,0,0,5,0,30,0,0,90,0,0,14,695,2,2); -INSERT INTO `abilities` VALUES (27304,'parsimony',22,2,256,1,0,1,0,0,5,0,30,0,0,90,0,0,14,568,2,2); -INSERT INTO `abilities` VALUES (27305,'convert',26,30,0,1,0,1,0,0,5,0,0,0,0,450,0,0,14,724,2,2); -INSERT INTO `abilities` VALUES (27306,'sleep',22,42,256,32,0,1,0,0,15,60,0,0,3,0,75,0,1,651,1,2); -INSERT INTO `abilities` VALUES (27307,'sanguine_rite',22,30,3,1,0,1,0,0,15,0,20,0,0,60,120,0,1,152,1,2); -INSERT INTO `abilities` VALUES (27308,'blizzard',22,4,256,32,0,1,0,0,15,30,0,0,3,10,90,0,1,502,1,2); -INSERT INTO `abilities` VALUES (27309,'blizzara',22,26,256,32,1,1,0,0,15,30,0,0,0,40,150,0,1,506,1,2); -INSERT INTO `abilities` VALUES (27310,'fire',22,10,3,32,1,1,0,0,15,0,0,0,3,8,105,0,1,501,1,2); -INSERT INTO `abilities` VALUES (27311,'fira',22,34,3,32,1,1,0,0,15,0,0,0,5,16,180,0,1,504,1,2); -INSERT INTO `abilities` VALUES (27312,'firaga',22,50,256,32,1,1,0,0,15,0,0,0,8,7,255,0,1,700,1,2); -INSERT INTO `abilities` VALUES (27313,'thunder',22,1,3,32,0,1,0,0,15,0,0,0,2,6,75,0,1,503,1,2); -INSERT INTO `abilities` VALUES (27314,'thundara',22,18,256,32,0,1,0,0,15,4,0,0,0,30,135,0,1,508,1,2); -INSERT INTO `abilities` VALUES (27315,'thundaga',22,46,256,32,0,1,0,0,15,0,0,0,5,45,195,0,1,509,1,2); -INSERT INTO `abilities` VALUES (27316,'burst',26,50,0,32,0,1,0,0,15,0,0,0,4,900,90,0,1,705,1,2); -INSERT INTO `abilities` VALUES (27317,'sleepga',26,45,0,32,1,1,0,0,15,0,0,0,4,0,100,0,1,704,1,2); -INSERT INTO `abilities` VALUES (27318,'flare',26,40,0,32,1,1,0,0,15,0,0,0,8,120,200,0,1,706,1,2); -INSERT INTO `abilities` VALUES (27319,'freeze',26,35,0,32,0,1,0,0,15,0,0,0,5,120,120,0,1,707,1,2); -INSERT INTO `abilities` VALUES (27340,'sacred_prism',23,34,3,1,0,1,0,0,5,0,60,0,0,90,0,0,14,690,2,2); -INSERT INTO `abilities` VALUES (27341,'shroud_of_saints',23,38,512,1,0,1,0,0,5,0,20,0,0,180,0,0,14,691,2,2); -INSERT INTO `abilities` VALUES (27342,'cleric_stance',23,10,512,1,0,1,0,0,5,0,0,0,0,30,0,0,14,692,2,2); -INSERT INTO `abilities` VALUES (27343,'blissful_mind',23,14,512,1,0,1,0,0,5,0,0,0,0,30,0,0,14,693,2,2); -INSERT INTO `abilities` VALUES (27344,'presence_of_mind',27,30,0,1,0,1,0,0,5,0,0,0,0,300,0,0,14,722,2,2); -INSERT INTO `abilities` VALUES (27345,'benediction',27,50,0,1,1,1,0,0,5,0,0,0,0,900,0,0,14,723,2,2); -INSERT INTO `abilities` VALUES (27346,'cure',23,2,3,2,0,1,0,0,15,0,0,0,2,5,40,0,1,101,1,2); -INSERT INTO `abilities` VALUES (27347,'cura',23,30,512,2,0,1,0,0,15,0,0,0,2,5,100,0,1,103,1,2); -INSERT INTO `abilities` VALUES (27348,'curaga',23,46,512,4,1,1,0,0,15,0,0,0,3,10,150,0,1,146,1,2); -INSERT INTO `abilities` VALUES (27349,'raise',23,18,512,2,0,1,0,0,15,0,0,0,10,300,150,0,1,148,1,2); -INSERT INTO `abilities` VALUES (27350,'stoneskin',23,26,3,2,0,1,0,0,15,0,300,0,3,30,50,0,1,133,1,2); -INSERT INTO `abilities` VALUES (27351,'protect',23,6,3,4,1,1,0,0,15,0,300,0,3,30,80,0,1,1085,1,2); -INSERT INTO `abilities` VALUES (27352,'repose',23,50,0,32,0,1,0,0,15,0,0,0,3,0,80,0,1,151,1,2); -INSERT INTO `abilities` VALUES (27353,'aero',23,4,3,32,0,1,0,0,15,0,0,0,3,6,75,0,1,510,1,2); -INSERT INTO `abilities` VALUES (27354,'aerora',23,42,512,32,1,1,0,0,15,0,0,0,4,20,150,0,1,511,1,2); -INSERT INTO `abilities` VALUES (27355,'stone',23,1,3,32,0,1,0,0,15,0,0,0,2,6,75,0,1,513,1,2); -INSERT INTO `abilities` VALUES (27356,'stonera',23,22,512,32,1,1,0,0,15,0,0,0,3,30,150,0,1,514,1,2); -INSERT INTO `abilities` VALUES (27357,'esuna',27,40,0,2,0,1,0,0,15,0,0,0,2,10,40,0,1,702,1,2); -INSERT INTO `abilities` VALUES (27358,'regen',27,35,0,2,0,1,0,0,15,0,0,0,2,5,20,0,1,703,1,2); -INSERT INTO `abilities` VALUES (27359,'holy',27,45,0,32,1,1,0,0,15,0,0,0,0,300,100,0,1,708,1,2); -/*!40000 ALTER TABLE `abilities` ENABLE KEYS */; -UNLOCK TABLES; -commit; -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; - -/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; -/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; -/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; -/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; - --- Dump completed on 2017-08-23 3:05:29 diff --git a/sql/battle_commands.sql b/sql/battle_commands.sql new file mode 100644 index 00000000..bdbeb3d0 --- /dev/null +++ b/sql/battle_commands.sql @@ -0,0 +1,215 @@ +-- MySQL dump 10.13 Distrib 5.7.18, for Win64 (x86_64) +-- +-- Host: localhost Database: ffxiv_server +-- ------------------------------------------------------ +-- Server version 5.7.18-log + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; + +-- +-- Table structure for table `battle_commands` +-- + +DROP TABLE IF EXISTS `battle_commands`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `battle_commands` ( + `id` smallint(5) unsigned NOT NULL, + `name` varchar(255) NOT NULL, + `classJob` tinyint(3) unsigned NOT NULL, + `lvl` tinyint(3) unsigned NOT NULL, + `requirements` smallint(5) unsigned NOT NULL, + `validTarget` tinyint(3) unsigned NOT NULL, + `aoeType` tinyint(3) unsigned NOT NULL, + `numHits` tinyint(3) unsigned NOT NULL, + `positionBonus` tinyint(3) unsigned NOT NULL, + `procRequirement` tinyint(3) unsigned NOT NULL, + `range` int(10) unsigned NOT NULL, + `buffDuration` int(10) unsigned NOT NULL, + `debuffDuration` int(10) unsigned NOT NULL, + `castType` tinyint(3) unsigned NOT NULL, + `castTime` int(10) unsigned NOT NULL, + `recastTime` int(10) unsigned NOT NULL, + `mpCost` smallint(5) unsigned NOT NULL, + `tpCost` smallint(5) unsigned NOT NULL, + `animationType` tinyint(3) unsigned NOT NULL, + `effectAnimation` smallint(5) unsigned NOT NULL, + `modelAnimation` smallint(5) unsigned NOT NULL, + `animationDuration` smallint(5) unsigned NOT NULL, + `aoeRange` int(10) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `battle_commands` +-- + +LOCK TABLES `battle_commands` WRITE; +/*!40000 ALTER TABLE `battle_commands` DISABLE KEYS */; +set autocommit=0; +INSERT INTO `battle_commands` VALUES (27100,'second_wind',2,6,3,1,0,1,0,0,5,0,0,0,0,45,0,0,14,519,2,2,0); +INSERT INTO `battle_commands` VALUES (27101,'blindside',2,14,3,1,0,1,0,0,5,0,60,0,0,60,0,0,14,635,2,2,0); +INSERT INTO `battle_commands` VALUES (27102,'taunt',2,42,4,32,0,1,0,0,5,5,0,0,0,60,0,0,14,517,2,2,0); +INSERT INTO `battle_commands` VALUES (27103,'featherfoot',2,2,3,1,0,1,0,0,5,0,30,0,0,60,0,0,14,535,2,2,0); +INSERT INTO `battle_commands` VALUES (27104,'fists_of_fire',2,34,4,1,0,1,0,0,5,0,0,0,0,10,0,0,14,684,2,2,0); +INSERT INTO `battle_commands` VALUES (27105,'fists_of_earth',2,22,4,1,0,1,0,0,5,0,0,0,0,10,0,0,14,685,2,2,0); +INSERT INTO `battle_commands` VALUES (27106,'hundred_fists',15,50,0,0,0,1,0,0,5,0,0,0,0,900,0,0,14,712,2,2,0); +INSERT INTO `battle_commands` VALUES (27107,'spinning_heel',15,35,0,0,0,1,0,0,5,0,0,0,0,120,0,0,14,718,2,2,0); +INSERT INTO `battle_commands` VALUES (27108,'shoulder_tackle',15,30,0,0,0,1,0,0,5,0,0,0,0,60,0,0,18,1048,205,2,0); +INSERT INTO `battle_commands` VALUES (27109,'fists_of_wind',15,40,0,0,0,1,0,0,5,0,0,0,0,10,0,0,14,720,2,2,0); +INSERT INTO `battle_commands` VALUES (27110,'pummel',2,1,1,32,0,1,1,0,5,0,0,0,0,10,0,1000,18,1027,1,2,0); +INSERT INTO `battle_commands` VALUES (27111,'concussive_blow',2,10,1,32,0,1,4,0,5,30,0,0,0,30,0,1500,18,20,3,2,0); +INSERT INTO `battle_commands` VALUES (27112,'simian_thrash',2,50,4,32,0,1,0,0,5,0,0,0,0,80,0,2000,18,1003,202,2,0); +INSERT INTO `battle_commands` VALUES (27113,'aura_pulse',2,38,4,32,1,1,0,0,5,30,0,0,0,40,0,1500,18,66,203,2,0); +INSERT INTO `battle_commands` VALUES (27114,'pounce',2,4,4,32,0,1,2,0,5,10,0,0,0,20,0,1500,18,8,3,2,0); +INSERT INTO `battle_commands` VALUES (27115,'demolish',2,30,1,32,0,1,0,0,5,0,0,0,0,30,0,1500,18,1028,2,2,0); +INSERT INTO `battle_commands` VALUES (27116,'howling_fist',2,46,4,32,0,1,4,0,5,0,0,0,0,80,0,3000,18,1029,2,2,0); +INSERT INTO `battle_commands` VALUES (27117,'sucker_punch',2,26,1,32,0,1,4,0,5,0,0,0,0,15,0,1000,18,73,3,2,0); +INSERT INTO `battle_commands` VALUES (27118,'dragon_kick',15,45,0,0,0,1,0,0,5,0,0,0,0,60,0,2000,18,1041,204,2,0); +INSERT INTO `battle_commands` VALUES (27119,'haymaker',2,18,4,32,0,1,0,1,5,0,0,0,0,5,0,250,18,23,201,2,0); +INSERT INTO `battle_commands` VALUES (27140,'sentinel',3,22,3,1,0,1,0,0,5,0,15,0,0,90,0,0,14,526,2,2,0); +INSERT INTO `battle_commands` VALUES (27141,'aegis_boon',3,6,8,1,0,1,0,0,5,0,30,0,0,60,0,0,14,583,21,2,0); +INSERT INTO `battle_commands` VALUES (27142,'rampart',3,2,3,1,0,1,0,2,5,0,60,0,0,120,0,0,14,536,2,2,0); +INSERT INTO `battle_commands` VALUES (27143,'tempered_will',3,42,8,1,0,1,0,0,5,0,20,0,0,180,0,0,14,515,2,2,0); +INSERT INTO `battle_commands` VALUES (27144,'outmaneuver',3,34,8,1,0,1,0,0,5,0,30,0,0,90,0,0,14,512,21,2,0); +INSERT INTO `battle_commands` VALUES (27145,'flash',3,14,3,32,0,1,0,0,5,0,0,0,0,30,0,0,14,696,2,2,0); +INSERT INTO `battle_commands` VALUES (27146,'cover',16,30,0,0,0,1,0,0,5,0,15,0,0,60,0,0,14,725,2,2,0); +INSERT INTO `battle_commands` VALUES (27147,'divine_veil',16,35,0,0,0,1,0,0,5,0,20,0,0,60,0,0,14,713,2,2,0); +INSERT INTO `battle_commands` VALUES (27148,'hallowed_ground',16,50,0,0,0,1,0,0,5,0,0,0,0,900,0,0,14,709,2,2,0); +INSERT INTO `battle_commands` VALUES (27149,'holy_succor',16,40,0,0,0,1,0,0,15,0,0,0,2,10,100,0,1,701,1,2,0); +INSERT INTO `battle_commands` VALUES (27150,'fast_blade',3,1,1,32,0,1,1,0,5,0,0,0,0,10,0,1000,18,1023,1,2,0); +INSERT INTO `battle_commands` VALUES (27151,'flat_blade',3,26,1,32,0,1,0,0,5,0,0,0,0,10,0,1500,18,1024,2,2,0); +INSERT INTO `battle_commands` VALUES (27152,'savage_blade',3,10,1,32,0,1,0,0,5,0,0,0,0,30,0,1000,18,1025,1,2,0); +INSERT INTO `battle_commands` VALUES (27153,'goring_blade',3,50,8,32,0,1,2,0,5,30,0,0,0,60,0,3000,18,1026,301,2,0); +INSERT INTO `battle_commands` VALUES (27154,'riot_blade',3,30,8,32,0,1,2,0,5,30,0,0,0,80,0,2000,18,75,2,2,0); +INSERT INTO `battle_commands` VALUES (27155,'rage_of_halone',3,46,8,32,0,1,0,0,5,0,0,0,0,20,0,1500,18,1008,302,2,0); +INSERT INTO `battle_commands` VALUES (27156,'shield_bash',3,18,17,32,0,1,0,0,5,5,0,0,0,30,0,250,18,5,26,2,0); +INSERT INTO `battle_commands` VALUES (27157,'war_drum',3,38,24,32,1,1,0,2,5,0,0,0,0,60,0,500,14,502,21,2,0); +INSERT INTO `battle_commands` VALUES (27158,'phalanx',3,4,8,1,0,1,0,0,5,0,0,0,0,5,0,250,18,32,1,2,0); +INSERT INTO `battle_commands` VALUES (27159,'spirits_within',16,45,0,0,0,1,0,0,5,0,0,0,0,60,0,3000,18,1044,304,2,0); +INSERT INTO `battle_commands` VALUES (27180,'provoke',4,14,3,32,0,1,0,0,5,0,0,0,0,30,0,0,14,600,2,2,0); +INSERT INTO `battle_commands` VALUES (27181,'foresight',4,2,3,1,0,1,0,0,5,0,30,0,0,60,0,0,14,545,2,2,0); +INSERT INTO `battle_commands` VALUES (27182,'bloodbath',4,6,3,1,0,1,0,0,5,0,30,0,0,60,0,0,14,581,2,2,0); +INSERT INTO `battle_commands` VALUES (27183,'berserk',4,22,32,1,0,1,0,0,5,0,0,0,0,10,0,0,14,682,2,2,0); +INSERT INTO `battle_commands` VALUES (27184,'rampage',4,34,32,1,0,1,0,0,5,0,0,0,0,10,0,0,14,546,2,2,0); +INSERT INTO `battle_commands` VALUES (27185,'enduring_march',4,42,32,1,0,1,0,0,5,0,20,0,0,180,0,0,14,539,2,2,0); +INSERT INTO `battle_commands` VALUES (27186,'vengeance',17,30,0,1,0,1,0,0,5,0,0,0,0,150,0,0,14,714,2,2,0); +INSERT INTO `battle_commands` VALUES (27187,'antagonize',17,35,0,1,0,1,0,0,5,0,0,0,0,120,0,0,14,715,2,2,0); +INSERT INTO `battle_commands` VALUES (27188,'collusion',17,40,0,4,0,1,0,0,5,0,0,0,0,90,0,0,14,711,2,2,0); +INSERT INTO `battle_commands` VALUES (27189,'mighty_strikes',17,50,0,1,0,1,0,0,5,0,0,0,0,900,0,0,14,716,2,2,0); +INSERT INTO `battle_commands` VALUES (27190,'heavy_swing',4,1,1,32,0,1,1,0,5,0,0,0,0,10,0,1000,18,14,1,2,0); +INSERT INTO `battle_commands` VALUES (27191,'skull_sunder',4,10,1,32,0,1,0,0,5,0,0,0,0,30,0,1500,18,43,1,2,0); +INSERT INTO `battle_commands` VALUES (27192,'steel_cyclone',17,45,0,32,1,1,0,0,5,0,0,0,0,30,0,2000,18,1040,404,2,0); +INSERT INTO `battle_commands` VALUES (27193,'brutal_swing',4,4,1,32,0,1,4,0,5,0,0,0,0,20,0,1500,18,15,3,2,0); +INSERT INTO `battle_commands` VALUES (27194,'maim',4,26,1,32,0,1,0,0,5,0,0,0,0,30,0,1500,18,88,1,2,0); +INSERT INTO `battle_commands` VALUES (27195,'godsbane',4,50,32,32,0,1,0,0,5,0,0,0,0,60,0,3000,18,1014,402,2,0); +INSERT INTO `battle_commands` VALUES (27196,'path_of_the_storm',4,38,32,32,0,1,2,0,5,0,0,0,0,30,0,1500,18,44,401,2,0); +INSERT INTO `battle_commands` VALUES (27197,'whirlwind',4,46,32,32,1,1,0,0,5,0,0,0,0,80,0,3000,18,1015,403,2,0); +INSERT INTO `battle_commands` VALUES (27198,'fracture',4,18,32,32,0,1,0,4,5,8,0,0,0,40,0,500,18,42,3,2,0); +INSERT INTO `battle_commands` VALUES (27199,'overpower',4,30,1,32,2,1,0,4,5,0,0,0,0,5,0,250,18,89,1,2,0); +INSERT INTO `battle_commands` VALUES (27220,'hawks_eye',7,6,3,1,0,1,0,0,5,0,15,0,0,90,0,0,14,516,2,2,0); +INSERT INTO `battle_commands` VALUES (27221,'quelling_strikes',7,22,3,1,0,1,0,0,5,30,0,0,0,60,0,0,14,614,2,2,0); +INSERT INTO `battle_commands` VALUES (27222,'decoy',7,2,3,1,0,1,0,0,15,0,60,0,0,90,100,0,14,565,2,2,0); +INSERT INTO `battle_commands` VALUES (27223,'chameleon',7,42,3,1,0,1,0,0,5,0,0,0,0,180,0,0,14,504,2,2,0); +INSERT INTO `battle_commands` VALUES (27224,'barrage',7,34,64,1,0,1,0,0,5,0,60,0,0,90,0,0,14,683,2,2,0); +INSERT INTO `battle_commands` VALUES (27225,'raging_strikes',7,14,64,1,0,1,0,0,5,0,0,0,0,10,0,0,14,632,2,2,0); +INSERT INTO `battle_commands` VALUES (27226,'swiftsong',7,26,64,1,1,1,0,0,15,0,180,0,0,10,100,0,1,150,1,2,0); +INSERT INTO `battle_commands` VALUES (27227,'battle_voice',18,50,0,1,1,1,0,0,5,0,0,0,0,900,0,0,14,721,2,2,0); +INSERT INTO `battle_commands` VALUES (27228,'heavy_shot',7,1,1,32,0,1,0,0,5,0,0,0,0,10,0,1000,18,1036,4,2,0); +INSERT INTO `battle_commands` VALUES (27229,'leaden_arrow',7,10,1,32,0,1,0,0,5,30,0,0,0,30,0,1500,18,1035,4,2,0); +INSERT INTO `battle_commands` VALUES (27230,'wide_volley',7,50,64,32,1,1,0,0,5,0,0,0,0,80,0,2000,18,18,703,2,0); +INSERT INTO `battle_commands` VALUES (27231,'quick_nock',7,38,64,32,2,1,0,0,5,0,0,0,0,180,0,1000,18,1017,702,2,0); +INSERT INTO `battle_commands` VALUES (27232,'rain_of_death',18,45,0,32,1,1,0,0,5,0,0,0,0,30,0,3000,18,1037,704,2,0); +INSERT INTO `battle_commands` VALUES (27233,'piercing_arrow',7,4,1,32,0,1,0,0,5,0,0,0,0,20,0,1000,18,1038,1,2,0); +INSERT INTO `battle_commands` VALUES (27234,'gloom_arrow',7,30,1,32,0,1,0,0,5,30,0,0,0,10,0,1000,18,1039,4,2,0); +INSERT INTO `battle_commands` VALUES (27235,'bloodletter',7,46,64,32,0,1,0,0,5,30,0,0,0,80,0,1500,18,53,701,2,0); +INSERT INTO `battle_commands` VALUES (27236,'shadowbind',7,18,64,32,0,1,0,0,5,30,0,0,0,40,0,250,18,17,4,2,0); +INSERT INTO `battle_commands` VALUES (27237,'ballad_of_magi',18,30,0,1,1,1,0,0,15,0,0,0,3,10,100,0,1,709,1,2,0); +INSERT INTO `battle_commands` VALUES (27238,'paeon_of_war',18,40,0,1,1,1,0,0,15,0,0,0,3,10,50,1000,1,710,1,2,0); +INSERT INTO `battle_commands` VALUES (27239,'minuet_of_rigor',18,35,0,1,1,1,0,0,15,0,0,0,3,10,100,0,1,711,1,2,0); +INSERT INTO `battle_commands` VALUES (27258,'refill',7,1,0,1,0,1,0,0,5,0,0,0,0,0,0,0,0,0,0,2,0); +INSERT INTO `battle_commands` VALUES (27259,'light_shot',7,1,0,32,0,1,0,0,5,0,0,0,0,0,0,0,0,0,0,2,0); +INSERT INTO `battle_commands` VALUES (27260,'invigorate',8,14,3,1,0,1,0,0,5,0,30,0,0,90,0,0,14,575,2,2,0); +INSERT INTO `battle_commands` VALUES (27261,'power_surge',8,34,128,1,0,1,0,0,5,0,0,0,0,10,0,0,14,686,2,2,0); +INSERT INTO `battle_commands` VALUES (27262,'life_surge',8,22,128,1,0,1,0,0,5,0,0,0,0,15,0,250,14,687,2,2,0); +INSERT INTO `battle_commands` VALUES (27263,'dread_spike',8,42,128,1,0,1,0,0,5,0,0,0,0,120,0,0,14,686,2,2,0); +INSERT INTO `battle_commands` VALUES (27264,'blood_for_blood',8,6,3,1,0,1,0,0,5,0,0,0,0,60,0,0,14,689,2,2,0); +INSERT INTO `battle_commands` VALUES (27265,'keen_flurry',8,26,3,1,0,1,0,0,5,0,0,0,0,90,0,0,14,569,2,2,0); +INSERT INTO `battle_commands` VALUES (27266,'jump',19,30,0,32,0,1,0,0,5,0,0,0,0,60,0,0,18,1045,804,2,0); +INSERT INTO `battle_commands` VALUES (27267,'elusive_jump',19,40,0,1,0,1,0,0,5,0,0,0,0,180,0,0,18,1046,806,2,0); +INSERT INTO `battle_commands` VALUES (27268,'dragonfire_dive',19,50,0,32,1,1,0,0,5,0,0,0,0,900,0,0,18,1045,804,2,0); +INSERT INTO `battle_commands` VALUES (27269,'true_thrust',8,1,1,32,0,1,1,0,5,0,0,0,0,10,0,1000,18,1030,2,2,0); +INSERT INTO `battle_commands` VALUES (27270,'leg_sweep',8,30,1,32,1,1,0,0,5,8,0,0,0,30,0,1000,18,37,1,2,0); +INSERT INTO `battle_commands` VALUES (27271,'doom_spike',8,46,128,32,3,1,0,0,5,0,0,0,0,60,0,3000,18,83,801,2,0); +INSERT INTO `battle_commands` VALUES (27272,'disembowel',19,35,0,32,0,1,0,0,5,0,0,0,0,30,0,750,18,1042,2,2,0); +INSERT INTO `battle_commands` VALUES (27273,'heavy_thrust',8,10,1,32,0,1,0,0,5,4,0,0,0,20,0,1500,18,1031,1,2,0); +INSERT INTO `battle_commands` VALUES (27274,'vorpal_thrust',8,2,1,32,0,1,2,0,5,0,0,0,0,20,0,1500,18,1032,2,2,0); +INSERT INTO `battle_commands` VALUES (27275,'impulse_drive',8,18,1,32,0,1,4,0,5,0,0,0,0,30,0,1500,18,1033,2,2,0); +INSERT INTO `battle_commands` VALUES (27276,'chaos_thrust',8,50,128,32,0,1,0,0,5,0,0,0,0,80,0,3000,18,40,802,2,0); +INSERT INTO `battle_commands` VALUES (27277,'ring_of_talons',19,45,0,32,1,1,0,0,5,0,0,0,0,60,0,2000,18,1009,803,2,0); +INSERT INTO `battle_commands` VALUES (27278,'feint',8,4,1,32,0,1,0,8,5,0,0,0,0,10,0,250,18,39,2,2,0); +INSERT INTO `battle_commands` VALUES (27279,'full_thrust',8,38,128,32,0,1,0,8,5,0,0,0,0,30,0,250,18,1034,801,2,0); +INSERT INTO `battle_commands` VALUES (27300,'dark_seal',22,14,3,1,0,1,0,0,5,0,30,0,0,90,0,0,14,518,2,2,0); +INSERT INTO `battle_commands` VALUES (27301,'resonance',22,22,3,1,0,1,0,0,5,0,30,0,0,90,0,0,14,669,2,2,0); +INSERT INTO `battle_commands` VALUES (27302,'excruciate',22,38,256,1,0,1,0,0,5,0,30,0,0,90,0,0,14,694,2,2,0); +INSERT INTO `battle_commands` VALUES (27303,'necrogenesis',22,6,3,1,0,1,0,0,5,0,30,0,0,90,0,0,14,695,2,2,0); +INSERT INTO `battle_commands` VALUES (27304,'parsimony',22,2,256,1,0,1,0,0,5,0,30,0,0,90,0,0,14,568,2,2,0); +INSERT INTO `battle_commands` VALUES (27305,'convert',26,30,0,1,0,1,0,0,5,0,0,0,0,450,0,0,14,724,2,2,0); +INSERT INTO `battle_commands` VALUES (27306,'sleep',22,42,256,32,0,1,0,0,15,60,0,0,3,0,75,0,1,651,1,2,0); +INSERT INTO `battle_commands` VALUES (27307,'sanguine_rite',22,30,3,1,0,1,0,0,15,0,20,0,0,60,120,0,1,152,1,2,0); +INSERT INTO `battle_commands` VALUES (27308,'blizzard',22,4,256,32,0,1,0,0,15,30,0,0,3,10,90,0,1,502,1,2,0); +INSERT INTO `battle_commands` VALUES (27309,'blizzara',22,26,256,32,1,1,0,0,15,30,0,0,0,40,150,0,1,506,1,2,0); +INSERT INTO `battle_commands` VALUES (27310,'fire',22,10,3,32,1,1,0,0,15,0,0,0,3,8,105,0,1,501,1,2,0); +INSERT INTO `battle_commands` VALUES (27311,'fira',22,34,3,32,1,1,0,0,15,0,0,0,5,16,180,0,1,504,1,2,0); +INSERT INTO `battle_commands` VALUES (27312,'firaga',22,50,256,32,1,1,0,0,15,0,0,0,8,7,255,0,1,700,1,2,0); +INSERT INTO `battle_commands` VALUES (27313,'thunder',22,1,3,32,0,1,0,0,15,0,0,0,2,6,75,0,1,503,1,2,0); +INSERT INTO `battle_commands` VALUES (27314,'thundara',22,18,256,32,0,1,0,0,15,4,0,0,0,30,135,0,1,508,1,2,0); +INSERT INTO `battle_commands` VALUES (27315,'thundaga',22,46,256,32,0,1,0,0,15,0,0,0,5,45,195,0,1,509,1,2,0); +INSERT INTO `battle_commands` VALUES (27316,'burst',26,50,0,32,0,1,0,0,15,0,0,0,4,900,90,0,1,705,1,2,0); +INSERT INTO `battle_commands` VALUES (27317,'sleepga',26,45,0,32,1,1,0,0,15,0,0,0,4,0,100,0,1,704,1,2,0); +INSERT INTO `battle_commands` VALUES (27318,'flare',26,40,0,32,1,1,0,0,15,0,0,0,8,120,200,0,1,706,1,2,0); +INSERT INTO `battle_commands` VALUES (27319,'freeze',26,35,0,32,0,1,0,0,15,0,0,0,5,120,120,0,1,707,1,2,0); +INSERT INTO `battle_commands` VALUES (27340,'sacred_prism',23,34,3,1,0,1,0,0,5,0,60,0,0,90,0,0,14,690,2,2,0); +INSERT INTO `battle_commands` VALUES (27341,'shroud_of_saints',23,38,512,1,0,1,0,0,5,0,20,0,0,180,0,0,14,691,2,2,0); +INSERT INTO `battle_commands` VALUES (27342,'cleric_stance',23,10,512,1,0,1,0,0,5,0,0,0,0,30,0,0,14,692,2,2,0); +INSERT INTO `battle_commands` VALUES (27343,'blissful_mind',23,14,512,1,0,1,0,0,5,0,0,0,0,30,0,0,14,693,2,2,0); +INSERT INTO `battle_commands` VALUES (27344,'presence_of_mind',27,30,0,1,0,1,0,0,5,0,0,0,0,300,0,0,14,722,2,2,0); +INSERT INTO `battle_commands` VALUES (27345,'benediction',27,50,0,1,1,1,0,0,5,0,0,0,0,900,0,0,14,723,2,2,0); +INSERT INTO `battle_commands` VALUES (27346,'cure',23,2,3,2,0,1,0,0,15,0,0,0,2,5,40,0,1,101,1,2,0); +INSERT INTO `battle_commands` VALUES (27347,'cura',23,30,512,2,0,1,0,0,15,0,0,0,2,5,100,0,1,103,1,2,0); +INSERT INTO `battle_commands` VALUES (27348,'curaga',23,46,512,4,1,1,0,0,15,0,0,0,3,10,150,0,1,146,1,2,0); +INSERT INTO `battle_commands` VALUES (27349,'raise',23,18,512,2,0,1,0,0,15,0,0,0,10,300,150,0,1,148,1,2,0); +INSERT INTO `battle_commands` VALUES (27350,'stoneskin',23,26,3,2,0,1,0,0,15,0,300,0,3,30,50,0,1,133,1,2,0); +INSERT INTO `battle_commands` VALUES (27351,'protect',23,6,3,4,1,1,0,0,15,0,300,0,3,30,80,0,1,1085,1,2,0); +INSERT INTO `battle_commands` VALUES (27352,'repose',23,50,0,32,0,1,0,0,15,0,0,0,3,0,80,0,1,151,1,2,0); +INSERT INTO `battle_commands` VALUES (27353,'aero',23,4,3,32,0,1,0,0,15,0,0,0,3,6,75,0,1,510,1,2,0); +INSERT INTO `battle_commands` VALUES (27354,'aerora',23,42,512,32,1,1,0,0,15,0,0,0,4,20,150,0,1,511,1,2,0); +INSERT INTO `battle_commands` VALUES (27355,'stone',23,1,3,32,0,1,0,0,15,0,0,0,2,6,75,0,1,513,1,2,0); +INSERT INTO `battle_commands` VALUES (27356,'stonera',23,22,512,32,1,1,0,0,15,0,0,0,3,30,150,0,1,514,1,2,0); +INSERT INTO `battle_commands` VALUES (27357,'esuna',27,40,0,2,0,1,0,0,15,0,0,0,2,10,40,0,1,702,1,2,0); +INSERT INTO `battle_commands` VALUES (27358,'regen',27,35,0,2,0,1,0,0,15,0,0,0,2,5,20,0,1,703,1,2,0); +INSERT INTO `battle_commands` VALUES (27359,'holy',27,45,0,32,1,1,0,0,15,0,0,0,0,300,100,0,1,708,1,2,0); +/*!40000 ALTER TABLE `battle_commands` ENABLE KEYS */; +UNLOCK TABLES; +commit; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +-- Dump completed on 2017-08-28 1:38:36