Mob Spawn at %

05/24/2023 19:03 Banhammer881#1
hey, i want to let a boss e.g. kimu let span mobs or boxes at 10% hp. can i do this in obelisk.ini?

tried this, but dont work,
[bothmob_039, (11, 1, 43200, (100,2000))] = (22.992, 7.477, 145.987),(835)

//////////////////////////////////Item Drop////////////////////////////////////
[Mob] = (22.992, 7.477, 145.987),(0, 2385), 1
[Mob] = (22.992, 7.477, 145.987),(0, 2385), 1

2385 is my bob/box
05/24/2023 19:54 MorningstarV#2
no, u need to edit the lua files for that
05/24/2023 21:15 Banhammer881#3
ok i made 110.lua and added 110 in AI row at kimu in dob.Mobs.
restarted server, updated client.
nothing happen.
Code:
-- //////////////////////////////////////////////////////////////////////
-- Д«АП·л »зЕ©¶у єёЅє 2Вч_єРЅЕ јТИЇµЗ±вАь ёуЅєЕН_ID-835 AI 110.Lua  ver.090113
-- //////////////////////////////////////////////////////////////////////



-- //////////////////////////////////////////////////////////////////////

Mob = LuaMob(CMob)

-- //////////////////////////////////////////////////////////////////
-- 사용자 변수는 여기에 선언합니다.


-- //////////////////////////////////////////////////////////////////
-- 사용자 함수는 여기에 선언합니다.

dwNextCreateTime = 0
bMobSay	= 0
bMobCreate = 0

function Init()
end

function OnAttacked( dwTime, dwCharID )
end

function OnAttackable( dwTime, dwCharID )
end

function OnNormalReset( dwTime )
end

function OnDeath( dwTime, dwAttackedCount )
end

function OnReturnHome( dwTime, dwAttackedCount )
end

function OnMoveEnd( dwTime )
end

function WhileCombat( dwTime, dwHPPercent, dwAttackedCount )
end

if ( dwHPPercent <= 75 ) then
if ( bMobSay < 2) then
        Mob:LuaSayByIndex ( 11006, 200.0 )
        bMobSay = bMobSay + 1
end
        Mob:LuaCreateMob ( 2385, 10, 0.0, 0.0 )
end
05/24/2023 23:45 Stvens1sa#4
I know how to do it.
05/25/2023 13:09 Banhammer881#5
#close