Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2009, 06:38 PM
Serryon123
Sarnak
 
Join Date: May 2009
Location: nj
Posts: 39
Default Spell question

Hello everyone im currently working on my server City of Carnage you may have seen it on the server list as "A Work in progress" but anyway I was wondering if anyone knew a way to EDIT already made spells, or if there was a program, or if there was a way to actually CREATE a new spell? Any info on this would be great. Thanks in advance.
Reply With Quote
  #2  
Old 06-29-2009, 07:02 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Bleh/Ala spell editor.
Reply With Quote
  #3  
Old 06-29-2009, 07:29 PM
Serryon123
Sarnak
 
Join Date: May 2009
Location: nj
Posts: 39
Default

Ah great ty, would u happen to have a link to these programs please? googled but cant seem to find any idk why
Reply With Quote
  #4  
Old 06-29-2009, 07:37 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

i can't find the official link but it started here

http://www.eqemulator.net/forums/sho...highlight=Bleh
Reply With Quote
  #5  
Old 06-29-2009, 09:47 PM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default

http://wizardportal.dyndns.org/eqemu/eq.html
__________________
Clumsy's World: Resurgence [2019-Present]
Clumsy's World 2.0 [2014-2016]
Clumsy's World [2006-2012]
Reply With Quote
  #6  
Old 06-30-2009, 01:45 AM
Serryon123
Sarnak
 
Join Date: May 2009
Location: nj
Posts: 39
Default

Ah great thx, I cant get it to work just yet not sure why but im sure playing around with it some more ill figure it out. Also had another question, this is my first emu server and im still a learning GM, but im trying to script a boss, i can make it cast AoE spells fine using this line
Code:
$npc->CastSpell(1653,userid);
how would i make it cast a single target spell like a single target lifetap or something? they dont seem to work. Was also wondering how to make adds despawn upon aggro loss? tried googling but i cant seem to find any good info about eqemu on google. Thanks in advance.

-Steve

also aim name is xXxSteveo89xXx if anyone is interested in chatting on there
Reply With Quote
  #7  
Old 06-30-2009, 07:02 AM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

Code:
$npc->CastSpell(1653,userid);
Instead use

Code:
$npc->CastSpell(1653,$client);
If you will post the full script we can help you get it working.
__________________
Retired EMarr
Project1999 Developer
Reply With Quote
  #8  
Old 06-30-2009, 02:04 PM
Serryon123
Sarnak
 
Join Date: May 2009
Location: nj
Posts: 39
Default

Ahh ok, well the script works, ill try that when i get home later on a single target spell, maybe sum1 can post a guide or something on script spells? like is there a way to make the spells he casts instant, even tho they have a cast time for players, and a way to make it so they cast the spell throughout the whole fight and maybe on a certain timer? appreciate all the help!
Reply With Quote
  #9  
Old 06-30-2009, 03:34 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

As far as script wise? I'm not aware of a way to make a spell fire off instantly without creating a new copy & setting it to 0 cast time in the editor. However, in spell sets giving a spell a mana cost of -2 will make it instant cast I believe.

So, for scripting, if you need a spell to have a zero casting time, you will have to copy the spell you want to have no casting time, change the copies casting time and then use that new ID in your script.

Least this is the way I did it as I couldn't find accurate information to the contrary.
__________________
Retired EMarr
Project1999 Developer
Reply With Quote
  #10  
Old 06-30-2009, 03:54 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

For firing spells on a timer, you will need to use

Code:
sub EVENT_TIMER {
if($timer eq "nuke") {
$npc->CastSpell(ID,Target);
}
}
Tying the timer to combat is generally the best idea

Code:
sub EVENT_COMBAT {
if ($combat_state == 1) {
quest::settimer("nuke",15);
}
if ($combat_state == 0) {
quest::stoptimer("nuke");
}
}
__________________
Retired EMarr
Project1999 Developer
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 03:06 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