Custom Boss (test)
Ive been messing with timers and I was just wondering if anyone knew why in the world this boss will NOT cast this spell, has equal brackets, ID is correct, syntax looks fine.. so wth?
Code:
sub EVENT_COMBAT { Thanks in advance. Lol im sure its a nub mistake >_< |
Quote:
|
Ahhh great thank you Akkadian!
|
Hm.. Well right now I have
Code:
sub EVENT_COMBAT { Code:
if ($combat_state == 0) { |
Quote:
Code:
sub EVENT_SPAWN{ |
Ohhh.. Great thanks so much! Working perfect now :)
|
You probably need to learn about strings:
Code:
sub EVENT_COMBAT { quest::castspell(id,spellid) - Casts "spell" on entity with "id". This is buggy, if it does not work try $npc->CastSpell(id,spellid); |
Bah! I didnt know, its casting it when not even aggro'd if ur near the mob. It will just cast the spell, why is that the case when i have
Quote:
|
Quote:
|
oh great guide Joligario ty.
|
But thats why im confused Akkadian, I have that in. But ill attack the mob, itll cast. Ill #repop and as soon as it gets back it starts casting on me again..
|
Quote:
|
Akkadius: FYI - In your code sample, you don't need to stop and start your repeatsay timer in your timer block above. Just redundant as the timer cycles.
|
Im reading it Akkadius, but im unsure. I am somewhat new and starting to learn scripting.. I mean, im reading that, but im still unsure as to why the mob is casting out of combat when i have that code in there?
|
I tried changing the integer like u said so now its
Quote:
|
All times are GMT -4. The time now is 10:19 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.