mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-24 21:57:45 +00:00
Small fixes
Fix Shoulder Tackle script using Weaponskill function names Change BattleNPC to not use array.Clone on respawn. Move custom StatusEffect ids to 300000+ (will break these statuses until new sql file is pushed)
This commit is contained in:
parent
e1c86a4898
commit
8ba3c195f2
4 changed files with 9 additions and 11 deletions
|
@ -528,8 +528,8 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
aiContainer.Reset();
|
||||
// todo: reset hp/mp/tp etc here
|
||||
ChangeState(SetActorStatePacket.MAIN_STATE_PASSIVE);
|
||||
charaWork.parameterSave.hp = charaWork.parameterSave.hpMax;
|
||||
charaWork.parameterSave.mp = charaWork.parameterSave.mpMax;
|
||||
SetHP((uint) GetMaxHP());
|
||||
SetMP((uint) GetMaxMP());
|
||||
RecalculateStats();
|
||||
}
|
||||
|
||||
|
|
|
@ -325,11 +325,11 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai
|
|||
|
||||
// custom effects here
|
||||
// status for having procs fall off
|
||||
EvadeProc = 253003,
|
||||
BlockProc = 253004,
|
||||
ParryProc = 253005,
|
||||
MissProc = 253006,
|
||||
EXPChain = 253007
|
||||
EvadeProc = 300000,
|
||||
BlockProc = 300001,
|
||||
ParryProc = 300002,
|
||||
MissProc = 300003,
|
||||
EXPChain = 300004
|
||||
}
|
||||
|
||||
[Flags]
|
||||
|
|
|
@ -251,8 +251,6 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
this.hateContainer.ClearHate();
|
||||
zone.BroadcastPacketsAroundActor(this, GetSpawnPackets(null, 0x01));
|
||||
zone.BroadcastPacketsAroundActor(this, GetInitPackets());
|
||||
charaWork.parameterSave.hp = charaWork.parameterSave.hpMax;
|
||||
charaWork.parameterSave.hp = (short[])charaWork.parameterSave.hpMax.Clone();
|
||||
RecalculateStats();
|
||||
|
||||
OnSpawn();
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
require("global");
|
||||
require("ability");
|
||||
|
||||
function onSkillPrepare(caster, target, skill)
|
||||
function onAbilityPrepare(caster, target, ability)
|
||||
return 0;
|
||||
end;
|
||||
|
||||
function onSkillStart(caster, target, skill)
|
||||
function onAbilityStart(caster, target, ability)
|
||||
return 0;
|
||||
end;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue