mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-29 20:32:52 +02:00
Add ActionLanded to make some checks cleaner.
Split physical and magic text id dictionaries. Add calculation for resists.
This commit is contained in:
parent
d0dca62a91
commit
f6104812a5
3 changed files with 76 additions and 43 deletions
|
@ -1109,7 +1109,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
lua.LuaEngine.CallLuaBattleCommandFunction(this, command, folder, "onSkillFinish", this, chara, command, action, actions);
|
||||
//cached script
|
||||
//skill.CallLuaFunction(owner, "onSkillFinish", this, chara, command, action, actions);
|
||||
if (action.hitType > HitType.Evade && action.hitType != HitType.Resist)
|
||||
if (action.ActionLanded())
|
||||
{
|
||||
hitTarget = true;
|
||||
hitCount++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue