mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 13:34:38 +02:00
renamed ability to battlecommand
- moved spells to scripts/commands/ - added aoe range field to battle_commands.sql - changed AttackState to use character's onAttack
This commit is contained in:
parent
6f5a480cbd
commit
6c74222b68
23 changed files with 658 additions and 335 deletions
|
@ -37,7 +37,7 @@ namespace FFXIVClassic_Map_Server
|
|||
private Dictionary<uint, ActorClass> actorClasses = new Dictionary<uint,ActorClass>();
|
||||
private Dictionary<ulong, Party> currentPlayerParties = new Dictionary<ulong, Party>(); //GroupId, Party object
|
||||
private Dictionary<uint, StatusEffect> effectList = new Dictionary<uint, StatusEffect>();
|
||||
private Dictionary<ushort, Ability> abilityList = new Dictionary<ushort, Ability>();
|
||||
private Dictionary<ushort, BattleCommand> abilityList = new Dictionary<ushort, BattleCommand>();
|
||||
|
||||
private Server mServer;
|
||||
|
||||
|
@ -1153,12 +1153,12 @@ namespace FFXIVClassic_Map_Server
|
|||
|
||||
public void LoadAbilities()
|
||||
{
|
||||
abilityList = Database.LoadGlobalAbilityList();
|
||||
abilityList = Database.LoadGlobalBattleCommandList();
|
||||
}
|
||||
|
||||
public Ability GetAbility(uint id)
|
||||
public BattleCommand GetAbility(uint id)
|
||||
{
|
||||
Ability ability;
|
||||
BattleCommand ability;
|
||||
return abilityList.TryGetValue((ushort)id, out ability) ? ability.Clone() : null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue