Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2005, 03:46 PM
SiliconeClone
Sarnak
 
Join Date: Apr 2005
Posts: 42
Default 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 { 
if ($text=~/Hail/i){
quest::say("Hello $name .  What have you come to growth for?"); 
}
if ($text=~/phatty lewts/i)
{
quest::say("There are no Phatty Lewts for you here $name!");
quest::castspell($userid,982);
}
}
opinions? fixes?
Reply With Quote
  #2  
Old 04-26-2005, 04:38 AM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default 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.
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
Reply With Quote
  #3  
Old 04-26-2005, 10:53 PM
SiliconeClone
Sarnak
 
Join Date: Apr 2005
Posts: 42
Default

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.
Reply With Quote
  #4  
Old 04-27-2005, 12:02 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Use selfcast(spellid)
Or, use shout("$name!!!") + damage(32000).
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #5  
Old 04-27-2005, 01:20 PM
SiliconeClone
Sarnak
 
Join Date: Apr 2005
Posts: 42
Default

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
Reply With Quote
  #6  
Old 04-27-2005, 01:40 PM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

Wait... lemme get this straight.... the CHARACTER shouts the name, not the NPC?
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:27 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3