mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
abilities now use correct animation id (<3 azia)
- did stuff with magicstate/attackstate - fixed status effect tick - added regen status (todo: actually populate the table and use that name instead of enum's) - added baseStats to char (todo: add bonuses and stuff on top of those, set charaWork values to the calculated ones + bonus)
This commit is contained in:
@@ -419,7 +419,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai
|
||||
public bool Update(DateTime tick)
|
||||
{
|
||||
// todo: maybe not tick if already reached duration?
|
||||
if (tickMs != 0 && (lastTick - startTime).TotalMilliseconds >= tickMs)
|
||||
if (tickMs != 0 && (tick - lastTick).TotalMilliseconds >= tickMs)
|
||||
{
|
||||
// todo: call effect's onTick
|
||||
// todo: maybe keep a global lua object instead of creating a new one each time we wanna call a script
|
||||
@@ -443,7 +443,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai
|
||||
|
||||
public Character GetSource()
|
||||
{
|
||||
return source;
|
||||
return source ?? owner;
|
||||
}
|
||||
|
||||
public uint GetStatusEffectId()
|
||||
|
Reference in New Issue
Block a user