PDA

View Full Version : fizzles BAAA


spider661
02-01-2009, 04:39 AM
how do i make a spell that will never fizzle?

i made a new spell based on ring of surefall i have tryed everything made it instant cast looked at disciplines that cant fizzle far as i know and made it = there fields prity much but i still have at lest 1 player that can not cast this spell they fizzle every time.

i need no one to ever fizzle with this spell its very important that they get out of the zone and there bound there so they have to cast this spell.

im casting the spell useing
$client->CastSpell(5046, $client, 0, 0, 0);

i have done limited testing with a few players not alot of players but out of all the players this 1 player the only one that fizzles and its not his class because im the same class.

im guessing its some skill he has.. but still y cant the spell just be unable to fizzle.. i have uninterpretable set to 1 already.

any thoughts suggestions helpfull i have been stuck on this one part for days now.

trevius
02-01-2009, 07:48 AM
I don't know why they would fizzle, but have you tried simply doing this instead:

quest::selfcast(5046);

That should never fizzle.

spider661
02-01-2009, 08:03 AM
because of the way im getting the caster i cant use quest.. the client is not the one firing the event but rather a timer on the npc.. i think i may have found a solution though. i just went into the server code where it does the fizzle check and put in a check if the spell=spellid and that seems to be working i still need to test it with the player that was fizzling though.

but i don't see y it would not work.
i dont know y i did not think of that before..
for whatever reason i can work on somethign for days and never get it to work but its seems as soon as i make a post i think of a way to do it lol.

but there have been times where you guys have been very helpful on getting stuff to work whether it be i did not know how to or i just needed a diff persons thoughts.. so i would like to thank everyone here especially you trvius you have helped me alot along the road.