mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-01 23:31:55 +02:00
stubbed item use state (needs to actually look up the item and get its reuse stuff)
- added tables to load mobs from (probably dont import besides server_battlenpc_genus.sql) - added field to server_battle_commands for commands usable by both monsters and players (probably arent any really)
This commit is contained in:
parent
4978813c27
commit
68a2d5f0b9
26 changed files with 615 additions and 179 deletions
|
@ -19,10 +19,10 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
/// <summary> Which Character types am I friendly with </summary>
|
||||
enum CharacterTargetingAllegiance
|
||||
{
|
||||
/// <summary> Friendly to Players </summary>
|
||||
Player,
|
||||
/// <summary> Friendly to BattleNpcs </summary>
|
||||
BattleNpcs
|
||||
BattleNpcs,
|
||||
/// <summary> Friendly to Players </summary>
|
||||
Player
|
||||
}
|
||||
|
||||
class Character : Actor
|
||||
|
@ -564,6 +564,16 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
updateFlags |= ActorUpdateFlags.HpTpMp;
|
||||
}
|
||||
|
||||
public void SetStat(uint statId, uint val)
|
||||
{
|
||||
charaWork.battleTemp.generalParameter[statId] = (ushort)val;
|
||||
}
|
||||
|
||||
public ushort GetStat(uint statId)
|
||||
{
|
||||
return charaWork.battleTemp.generalParameter[statId];
|
||||
}
|
||||
|
||||
public virtual float GetSpeed()
|
||||
{
|
||||
// todo: for battlenpc/player calculate speed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue