Castspell($userid,num) not working
I can not implement this in anyquest I do. I took the nexus scion transporters and had to changed them all to a self cast translocate to work. I tried to implement a mob with death touch and castspell would still not work so I had to goto a selfcast. I am using 6.0 dr2 has anyone else experienced this problem?
Prince_Thirneg.pl Code:
sub EVENT_SAY { |
search the threads
This has been an issue for a while. if you read anything about casting spells in the forums you will see that because of the spells being set as either detrimental or not is affecting the castspell command.
Search and give a read. Hope this helps. |
Aye I read that... but this particular spell is DeathTouch for 32k I would hardly tag that as beneficial. But I suppose it very well could be tagged wrong in the database, I will have to check that out.
|
Use selfcast(spellid)
Or, use shout("$name!!!") + damage(32000). |
Thanks I will try your second solution. Tried the first one the other night and the character will shout his/her own name before dying lol. The second one looks good though :)
|
Wait... lemme get this straight.... the CHARACTER shouts the name, not the NPC?
|
Nevermind this is left blank
|
If I use the selfcast method yes the character shouts the name.
selfcast(982) Goes something like this Keljor shouts: KELJOR and then boom I am dead :p I have not tried the second method just yet, but it looks good. |
Oh, yes you'll get that if you selfcast.
Lucy shows the spell as a detrimental 32k DD, and this data comes directly from the spells_us.txt. I don't think it's anything to do with a beneficial tag. |
Yeah, just try
Code:
quest::shout("$name!!!"); |
hmm still having problems on this one.
Code:
#Prince_Thirneg.pl Edit: In fact no matter what spell I try and get this particular NPC to cast... he always Cast a mage pet instead?? lol |
Ya know...to be authentic you gotta make the unicorn in PoM say what he says.
You hail him ,he says something ridiculous, and you say "phat lewts?", and he says something to the effect of "To My KnOwLeDgE, PrInCe ThIrNeG iN tHe PlAnE oF GrOwTh HaS acQuIrEd A VeRy LaRgE sUpPlY oF pHaT lEwTs..yOu ShoUlD gO aSk hIm FoR sOmE.. HeHehHeHeHeHeHEHeEEE!!!!" I have a screenshot of this from live somewhere, ah well. |
All times are GMT -4. The time now is 10:14 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.