Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core, lua] Improve draw-in specification to fix some issues #6007

Open
wants to merge 1 commit into
base: base
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions scripts/battlefields/Apollyon/sw_apollyon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,10 @@ content.groups =
mobs = { 'Armoury_Crate_Mimic' },
mobMods =
{
[xi.mobMod.DRAW_IN ] = 1,
[xi.mobMod.NO_MOVE ] = 1,
[xi.mobMod.NO_DESPAWN] = 1,
[xi.mobMod.NO_AGGRO ] = 1,
[xi.mobMod.DRAW_IN_BITMASK ] = xi.drawin.NORMAL,
[xi.mobMod.NO_MOVE ] = 1,
[xi.mobMod.NO_DESPAWN] = 1,
[xi.mobMod.NO_AGGRO ] = 1,
},

setup = function(battlefield, mobs)
Expand Down
12 changes: 12 additions & 0 deletions scripts/enum/drawin.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-----------------------------------
-- Drawin bits
-----------------------------------
xi = xi or {}

xi.drawin =
{
NONE = 0x000, -- no draw-in (mob can only draw-in by explictly calling the lua drawin function)
NORMAL = 0x001, -- basic draw-in where mob will draw-in battle target when target some distance from mob
TO_FRONT_OF_MOB = 0x002, -- determines if draw-in to the center of mob (bit not set) or front of mob (bit set)
INCLUDE_ALLIANCE = 0x004, -- determines if draw-in includes just the battle target (bit not set) or entire alliance (bit set)
}
4 changes: 3 additions & 1 deletion scripts/enum/mob_mod.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ xi.mobMod =
HP_HEAL_CHANCE = 9, -- can cast cures below this HP %
SUBLINK = 10, -- sub link group
LINK_RADIUS = 11, -- link radius
DRAW_IN = 12, -- 1 - player draw in, 2 - alliance draw in -- only add as a spawn mod!
DRAW_IN_BITMASK = 12, -- bitmask with different binary options for draw-in (see DRAWIN enum for options)
SEVERE_SPELL_CHANCE = 13, -- % chance to use a severe spell like death or impact
SKILL_LIST = 14, -- uses given mob skill list
MUG_GIL = 15, -- amount gil carried for mugging
Expand Down Expand Up @@ -89,4 +89,6 @@ xi.mobMod =
STANDBACK_RANGE = 78, -- Applies a specific standback range for the mob
CANNOT_GUARD = 79, -- Check if the mob does not guard (despite being a MNK or PUP mob)
SKIP_ALLEGIANCE_CHECK = 80, -- Skip the allegiance check for valid target (allows for example a mob to cast a TARGET_ENEMY spell on itself)
DRAW_IN_TRIGGER_DIST = 81, -- Distance to trigger a draw-in (overrides a default of 2 * melee dist)
DRAW_IN_MAX_RANGE = 82, -- Max range to draw-in an entity (overrides a default of entire zone)
}
3 changes: 2 additions & 1 deletion scripts/zones/Attohwa_Chasm/mobs/Tiamat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ end

entity.onMobInitialize = function(mob)
mob:setCarefulPathing(true)
mob:setMobMod(xi.mobMod.DRAW_IN, 8)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 8)
end

entity.onMobSpawn = function(mob)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Balgas_Dais/mobs/Black_Dragon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
end

entity.onMobDeath = function(mob, player, optParams)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Balgas_Dais/mobs/Large_Box.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ entity.onMobEngage = function(mob, target)
then
small:setLocalVar('engaged', 1)

mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
DespawnMob(mobId - 2)
DespawnMob(mobId - 1)

Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Balgas_Dais/mobs/Medium_Box.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ entity.onMobEngage = function(mob, target)
then
small:setLocalVar('engaged', 1)

mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
DespawnMob(mobId - 1)
DespawnMob(mobId + 1)

Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Balgas_Dais/mobs/Small_Box.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ entity.onMobEngage = function(mob, target)
if mob:getLocalVar('engaged') == 0 then
mob:setLocalVar('engaged', 1)

mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
DespawnMob(mobId + 1)
DespawnMob(mobId + 2)

Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Balgas_Dais/mobs/Wyrm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ entity.onMobInitialize = function(mob)
end

entity.onMobSpawn = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 1) -- has a bug during flight, like Tiamat
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL) -- has a bug during flight, like Tiamat
mob:setTP(3000) -- opens fight with a skill
end

Expand Down
2 changes: 2 additions & 0 deletions scripts/zones/Behemoths_Dominion/mobs/King_Behemoth.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ entity.onMobInitialize = function(mob)
end

entity.onMobSpawn = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 25)
mob:setLocalVar('[rage]timer', 3600) -- 60 minutes

-- Despawn the ???
Expand Down
2 changes: 2 additions & 0 deletions scripts/zones/Dragons_Aery/mobs/Fafnir.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ mixins = { require('scripts/mixins/rage') }
local entity = {}

entity.onMobSpawn = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 20)
mob:setLocalVar('[rage]timer', 3600) -- 60 minutes
mob:setMobMod(xi.mobMod.WEAPON_BONUS, 50) -- Level 90 + 50 = 140 Base Weapon Damage

Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/FeiYin/mobs/Capricious_Cassie.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mixins = { require('scripts/mixins/rage') }
local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 2)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, bit.bor(xi.drawin.NORMAL, xi.drawin.INCLUDE_ALLIANCE))
end

entity.onMobDeath = function(mob, player, optParams)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Garlaige_Citadel/mobs/Serket.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mixins = { require('scripts/mixins/rage') }
local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
end

entity.onMobSpawn = function(mob)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Ifrits_Cauldron/mobs/Bomb_Queen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local entity = {}
entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.IDLE_DESPAWN, 180)
mob:setMobMod(xi.mobMod.HP_STANDBACK, -1)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
mob:setMod(xi.mod.STUN_MEVA, 50)
end

Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/King_Ranperres_Tomb/mobs/Cemetery_Cherry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ end

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.IDLE_DESPAWN, 180)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)

local saplingsRespawn = math.random(1800, 3600) -- 30 to 60 minutes
mob:timer(saplingsRespawn * 1000, function(mobArg)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.ALWAYS_AGGRO, 1)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
end

entity.onMobSpawn = function(mob)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/La_Theine_Plateau/mobs/Bloodtear_Baldurf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.ALWAYS_AGGRO, 1)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
end

entity.onMobSpawn = function(mob)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Labyrinth_of_Onzozo/mobs/Lord_of_Onzozo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mixins = { require('scripts/mixins/rage') }
local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
end

entity.onMobDeath = function(mob, player, optParams)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Mamook/mobs/Gulool_Ja_Ja.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local entity = {}

entity.onMobSpawn = function(mob)
mob:setMod(xi.mod.DOUBLE_ATTACK, 20)
mob:setMobMod(xi.mobMod.DRAW_IN, 2)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, bit.bor(xi.drawin.NORMAL, xi.drawin.INCLUDE_ALLIANCE))
end

entity.onMobEngage = function(mob, target)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Meriphataud_Mountains/mobs/Waraxe_Beak.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
mob:setMobMod(xi.mobMod.HP_STANDBACK, -1)
end

Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Nyzul_Isle/mobs/Alexander.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local entity = {}
entity.onMobSpawn = function(mob)
mob:setMobMod(xi.mobMod.NO_MOVE, 1)
-- 'Draw in' should only trigger when target is beyond 20' (out of Radiant_Sacrament range)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)

mob:addListener('WEAPONSKILL_STATE_ENTER', 'WS_START_MSG', function(mobArg, skillID)
-- Radiant Sacrament
Expand Down
3 changes: 2 additions & 1 deletion scripts/zones/Phomiuna_Aqueducts/mobs/Minotaur.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ mixins = { require('scripts/mixins/fomor_hate') }
local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 15)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, bit.bor(xi.drawin.NORMAL, xi.drawin.INCLUDE_ALLIANCE))
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 15)
end

entity.onMobSpawn = function(mob)
Expand Down
3 changes: 2 additions & 1 deletion scripts/zones/Riverne-Site_A01/mobs/Ouryu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 15)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 15)
end

entity.onMobSpawn = function(mob)
Expand Down
3 changes: 2 additions & 1 deletion scripts/zones/Riverne-Site_B01/mobs/Vrtra.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 15)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 15)
end

return entity
6 changes: 3 additions & 3 deletions scripts/zones/Temenos/mobs/Proto-Ultima.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ executeCitadelBusterState = function(mob)
mob:setMagicCastingEnabled(true)
mob:setAutoAttackEnabled(true)
mob:setMobAbilityEnabled(true)
mob:setMobMod(xi.mobMod.DRAW_IN, 0)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NONE)
-- Use Citadel Buster at a regular interval
mob:setLocalVar('citadelBusterTime', os.time() + math.random(90, 100))
return
Expand All @@ -64,7 +64,7 @@ entity.onMobSpawn = function(mob)
mob:setMagicCastingEnabled(false)
mob:setAutoAttackEnabled(true)
mob:setMobAbilityEnabled(true)
mob:setMobMod(xi.mobMod.DRAW_IN, 0)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NONE)
mob:setMobMod(xi.mobMod.SKILL_LIST, 729)
end

Expand Down Expand Up @@ -99,7 +99,7 @@ entity.onMobFight = function(mob, target)
mob:setMobAbilityEnabled(false)
mob:setMagicCastingEnabled(false)
mob:setAutoAttackEnabled(false)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
executeCitadelBusterState(mob)
end
end
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/The_Boyahda_Tree/mobs/Ancient_Goobbue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ entity.onMobSpawn = function(mob)
{ id = xi.jsa.HUNDRED_FISTS, cooldown = 60, hpp = math.random(85, 95) },
},
})
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
end

entity.onMobDeath = function(mob, player, optParams)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/The_Boyahda_Tree/mobs/Voluptuous_Vivian.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mixins = { require('scripts/mixins/job_special') }
local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 2)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, bit.bor(xi.drawin.NORMAL, xi.drawin.INCLUDE_ALLIANCE))
end

entity.onMobDeath = function(mob, player, optParams)
Expand Down
3 changes: 2 additions & 1 deletion scripts/zones/Uleguerand_Range/mobs/Jormungand.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ end

entity.onMobInitialize = function(mob)
mob:setCarefulPathing(true)
mob:setMobMod(xi.mobMod.DRAW_IN, 15)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 15)
end

entity.onMobSpawn = function(mob)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Wajaom_Woodlands/mobs/Tinnin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.GIL_MIN, 12000)
mob:setMobMod(xi.mobMod.GIL_MAX, 30000)
mob:setMobMod(xi.mobMod.MUG_GIL, 8000)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
mob:setMod(xi.mod.UDMGBREATH, -10000) -- immune to breath damage
mob:setMobMod(xi.mobMod.IDLE_DESPAWN, 300)
end
Expand Down
3 changes: 2 additions & 1 deletion scripts/zones/Waughroon_Shrine/mobs/Dark_Dragon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
local entity = {}

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 25)
end

entity.onMobDeath = function(mob, player, optParams)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Waughroon_Shrine/mobs/Flayer_Franz.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
local entity = {}

entity.onMobSpawn = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
end

entity.onMobDeath = function(mob, player, optParams)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ end

entity.onMobInitialize = function(mob)
mob:setMobMod(xi.mobMod.ADD_EFFECT, 1)
mob:setMobMod(xi.mobMod.DRAW_IN, 2)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, bit.bor(xi.drawin.NORMAL, xi.drawin.INCLUDE_ALLIANCE))
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 15)
end

entity.onMobDrawIn = function(mob, target)
Expand Down
2 changes: 2 additions & 0 deletions scripts/zones/Xarcabard/mobs/Boreal_Coeurl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ entity.onMobEngage = function(mob)
end

entity.onMobSpawn = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, bit.bor(xi.drawin.NORMAL, xi.drawin.INCLUDE_ALLIANCE))
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 15)
mob:setSpeed(baseSpeed)
-- Failsafe to make sure NPC is down when NM is up
if xi.settings.main.OLDSCHOOL_G2 then
Expand Down
2 changes: 2 additions & 0 deletions scripts/zones/Xarcabard/mobs/Boreal_Hound.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ entity.onMobEngage = function(mob)
end

entity.onMobSpawn = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, bit.bor(xi.drawin.NORMAL, xi.drawin.INCLUDE_ALLIANCE))
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 15)
mob:setSpeed(baseSpeed)
-- Failsafe to make sure NPC is down when NM is up
if xi.settings.main.OLDSCHOOL_G2 then
Expand Down
2 changes: 2 additions & 0 deletions scripts/zones/Xarcabard/mobs/Boreal_Tiger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ entity.onMobEngage = function(mob)
end

entity.onMobSpawn = function(mob)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, bit.bor(xi.drawin.NORMAL, xi.drawin.INCLUDE_ALLIANCE))
mob:setMobMod(xi.mobMod.DRAW_IN_TRIGGER_DIST, 15)
mob:setSpeed(baseSpeed)
-- Failsafe to make sure NPC is down when NM is up
if xi.settings.main.OLDSCHOOL_G2 then
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Xarcabard_[S]/mobs/Zirnitra.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ entity.onMobSpawn = function(mob)
mob:setMod(xi.mod.REGEN, 50)
mob:setMod(xi.mod.REGAIN, 100)
mob:setMod(xi.mod.WIND_ABSORB, 100)
mob:setMobMod(xi.mobMod.DRAW_IN, 1)
mob:setMobMod(xi.mobMod.DRAW_IN_BITMASK, xi.drawin.NORMAL)
end

entity.onMobEngage = function(mob)
Expand Down
Loading
Loading