mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Combat additions
Added formulas for base EXP gain and chain experience Added basic scripts for most player abilities and effects Added stat gains for some abilities Changed status flags Fixed bug with player death Fixed bug where auto attacks didnt work when not locked on Added traits
This commit is contained in:
@@ -149,11 +149,15 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.controllers
|
||||
public override void Cast(Character target, uint spellId)
|
||||
{
|
||||
// todo:
|
||||
if(owner.aiContainer.CanChangeState())
|
||||
owner.aiContainer.InternalCast(target, spellId);
|
||||
}
|
||||
|
||||
public override void Ability(Character target, uint abilityId)
|
||||
{
|
||||
// todo:
|
||||
if (owner.aiContainer.CanChangeState())
|
||||
owner.aiContainer.InternalAbility(target, abilityId);
|
||||
}
|
||||
|
||||
public override void RangedAttack(Character target)
|
||||
@@ -211,7 +215,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.controllers
|
||||
return;
|
||||
}
|
||||
owner.SetMod((uint)Modifier.Speed, 5);
|
||||
if ((tick - lastCombatTickScript).TotalSeconds > 3)//Program.Random.Next(10, 15))
|
||||
if ((tick - lastCombatTickScript).TotalSeconds > 3)
|
||||
{
|
||||
Move();
|
||||
//if (owner.aiContainer.CanChangeState())
|
||||
|
@@ -21,6 +21,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.controllers
|
||||
|
||||
public override void Update(DateTime tick)
|
||||
{
|
||||
/*
|
||||
if (owner.newMainState != owner.currentMainState)
|
||||
{
|
||||
if (owner.newMainState == SetActorStatePacket.MAIN_STATE_ACTIVE)
|
||||
@@ -32,7 +33,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.controllers
|
||||
owner.Disengage();
|
||||
}
|
||||
owner.currentMainState = (ushort)owner.newMainState;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
public override void ChangeTarget(Character target)
|
||||
|
Reference in New Issue
Block a user