mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 06:24:38 +02:00
fixed auto attack messing up cast anim
- fixed auto attack anim for mobs (<3 u ion) - added hotbar timer updates (<3 u azia) - fixed actor block bug - cleaned up substate retardation - fixed some targetfind issues - added despawn state - added messages for in progress commands - added fields for aoe target, range, battleAnimation to server_battle_commands table
This commit is contained in:
parent
4c7928da78
commit
c5cc7c2f00
24 changed files with 550 additions and 330 deletions
|
@ -2154,8 +2154,8 @@ 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, aoeRange FROM server_battle_commands;");
|
||||
var query = ("SELECT `id`, name, classJob, lvl, requirements, validTarget, aoeType, aoeRange, aoeTarget, numHits, positionBonus, procRequirement, `range`, buffDuration, debuffDuration, " +
|
||||
"castType, castTime, recastTime, mpCost, tpCost, animationType, effectAnimation, modelAnimation, animationDuration, battleAnimation FROM server_battle_commands;");
|
||||
|
||||
MySqlCommand cmd = new MySqlCommand(query, conn);
|
||||
|
||||
|
@ -2188,7 +2188,9 @@ namespace FFXIVClassic_Map_Server
|
|||
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));
|
||||
battleCommand.aoeTarget = (TargetFindAOETarget)reader.GetByte("aoeTarget");
|
||||
|
||||
battleCommand.battleAnimation = reader.GetUInt32("battleAnimation");
|
||||
|
||||
battleCommands.Add(id, battleCommand);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue