mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-22 00:50:52 +02:00
Bug fixes
Fixed some bugs with targeting flags Fixed action equip bug for real this time Fixed server crash when commands hit no targets
This commit is contained in:
parent
0f7e6f359d
commit
79f2edf406
7 changed files with 46 additions and 39 deletions
|
@ -101,11 +101,11 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai
|
|||
return effects.ContainsKey((uint)id);
|
||||
}
|
||||
|
||||
public BattleAction AddStatusForBattleAction(uint id, byte tier = 1)
|
||||
public BattleAction AddStatusForBattleAction(uint id, byte tier = 1, ulong magnitude = 0, uint duration = 0)
|
||||
{
|
||||
BattleAction action = null;
|
||||
|
||||
if (AddStatusEffect(id, tier))
|
||||
if (AddStatusEffect(id, tier, magnitude, duration))
|
||||
action = new BattleAction(owner.actorId, 30328, id | (uint)HitEffect.StatusEffectType);
|
||||
|
||||
return action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue