topaz-next / topaz

💎 A server emulator for Final Fantasy XI.
GNU General Public License v3.0
55 stars 81 forks source link

[sol refactor] move more mob functions onto entity table #2466

Closed wrenffxi closed 3 years ago

wrenffxi commented 3 years ago

I affirm:

Temporary:

The following functions now exist on the entity table in mob scripts (and number of times):

    [onAdditionalEffect] => 116
    [onCriticalHit] => 6
    [onMagicCastingCheck] => 1
    [onMagicHit] => 4
    [onMobDeath] => 3291
    [onMobDespawn] => 608
    [onMobDisengage] => 50
    [onMobDrawIn] => 2
    [onMobEngaged] => 134
    [onMobFight] => 182
    [onMobInitialize] => 306
    [onMobRoam] => 71
    [onMobRoamAction] => 2
    [onMobSpawn] => 347
    [onMobWeaponSkill] => 13
    [onMonsterMagicPrepare] => 10
    [onPath] => 12
    [onSpellPrecast] => 9
    [onSpikesDamage] => 7
    [onWeaponskillHit] => 1