mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Add new hit effect flag for hit effects that only show animations
Fix SetMP setting MaxMP instead of MP Fix substate updates not being sent
This commit is contained in:
@@ -393,7 +393,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
|
||||
if ((updateFlags & ActorUpdateFlags.SubState) != 0)
|
||||
{
|
||||
//packets.Add(SetActorSubStatePacket.BuildPacket(actorId, currentSubState));
|
||||
packets.Add(SetActorSubStatePacket.BuildPacket(actorId, currentSubState));
|
||||
//packets.Add(CommandResultX00Packet.BuildPacket(actorId, 0x72000062, 0));
|
||||
//packets.Add(CommandResultX01Packet.BuildPacket(actorId, 0x7C000062, 21001, new CommandResult(actorId, 0, 1)));
|
||||
|
||||
@@ -614,7 +614,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
|
||||
public void SetMP(uint mp)
|
||||
{
|
||||
charaWork.parameterSave.mpMax = (short)mp;
|
||||
charaWork.parameterSave.mp = (short)mp;
|
||||
if (mp > charaWork.parameterSave.mpMax)
|
||||
SetMaxMP(mp);
|
||||
|
||||
|
@@ -464,6 +464,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.utils
|
||||
FinishActionStatus(caster, target, skill, action, actionContainer);
|
||||
break;
|
||||
default:
|
||||
action.effectId = (uint) HitEffect.AnimationEffectType;
|
||||
actionContainer.AddAction(action);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user