Hi.
How can i make this in LUA script:
when the boss reach 50% health he cast something, and 5 mins later he gets enraged.
Another question.
Unit, pUnit, sUnit... whats the difference?
Hi.
How can i make this in LUA script:
when the boss reach 50% health he cast something, and 5 mins later he gets enraged.
Another question.
Unit, pUnit, sUnit... whats the difference?
... i know these....
but i dont know how to make that the mob cast a spell 5 mins later.
local time = 60 * 5 * 1000 -- 60 seconds * 5 = 5 minutes, * 1000 for ms.
pUnit:RegisterEvent("DoSomething", time, 1)