mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04: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:
@@ -195,13 +195,13 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai
|
||||
float baseSpeed = owner.GetSpeed();
|
||||
|
||||
// todo: get actual speed crap
|
||||
if (owner.currentSubState != SetActorStatePacket.SUB_STATE_NONE)
|
||||
if (!(owner is Player))
|
||||
{
|
||||
if (owner.currentSubState == SetActorStatePacket.SUB_STATE_MONSTER)
|
||||
if (owner is BattleNpc)
|
||||
{
|
||||
//owner.ChangeSpeed(0.0f, SetActorSpeedPacket.DEFAULT_WALK - 2.0f, SetActorSpeedPacket.DEFAULT_RUN - 2.0f, SetActorSpeedPacket.DEFAULT_ACTIVE - 2.0f);
|
||||
}
|
||||
// baseSpeed += ConfigConstants.SPEED_MOD;
|
||||
// baseSpeed += ConfigConstants.NPC_SPEED_MOD;
|
||||
}
|
||||
return baseSpeed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user