mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-25 14:17:46 +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();
|
aiContainer.Reset();
|
||||||
// todo: reset hp/mp/tp etc here
|
// todo: reset hp/mp/tp etc here
|
||||||
ChangeState(SetActorStatePacket.MAIN_STATE_PASSIVE);
|
ChangeState(SetActorStatePacket.MAIN_STATE_PASSIVE);
|
||||||
charaWork.parameterSave.hp = charaWork.parameterSave.hpMax;
|
SetHP((uint) GetMaxHP());
|
||||||
charaWork.parameterSave.mp = charaWork.parameterSave.mpMax;
|
SetMP((uint) GetMaxMP());
|
||||||
RecalculateStats();
|
RecalculateStats();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -325,11 +325,11 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai
|
||||||
|
|
||||||
// custom effects here
|
// custom effects here
|
||||||
// status for having procs fall off
|
// status for having procs fall off
|
||||||
EvadeProc = 253003,
|
EvadeProc = 300000,
|
||||||
BlockProc = 253004,
|
BlockProc = 300001,
|
||||||
ParryProc = 253005,
|
ParryProc = 300002,
|
||||||
MissProc = 253006,
|
MissProc = 300003,
|
||||||
EXPChain = 253007
|
EXPChain = 300004
|
||||||
}
|
}
|
||||||
|
|
||||||
[Flags]
|
[Flags]
|
||||||
|
|
|
@ -251,8 +251,6 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||||
this.hateContainer.ClearHate();
|
this.hateContainer.ClearHate();
|
||||||
zone.BroadcastPacketsAroundActor(this, GetSpawnPackets(null, 0x01));
|
zone.BroadcastPacketsAroundActor(this, GetSpawnPackets(null, 0x01));
|
||||||
zone.BroadcastPacketsAroundActor(this, GetInitPackets());
|
zone.BroadcastPacketsAroundActor(this, GetInitPackets());
|
||||||
charaWork.parameterSave.hp = charaWork.parameterSave.hpMax;
|
|
||||||
charaWork.parameterSave.hp = (short[])charaWork.parameterSave.hpMax.Clone();
|
|
||||||
RecalculateStats();
|
RecalculateStats();
|
||||||
|
|
||||||
OnSpawn();
|
OnSpawn();
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
require("global");
|
require("global");
|
||||||
require("ability");
|
require("ability");
|
||||||
|
|
||||||
function onSkillPrepare(caster, target, skill)
|
function onAbilityPrepare(caster, target, ability)
|
||||||
return 0;
|
return 0;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function onSkillStart(caster, target, skill)
|
function onAbilityStart(caster, target, ability)
|
||||||
return 0;
|
return 0;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue