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 08-05-2010, 07:57 PM
liquest
"Special" Member
 
Join Date: Jul 2007
Posts: 373
Default Summon Defiant Armor

Okay so i remember on live you logged in and you could claim a Bundle of Defiant Armor. This was a little package that had a spell named "Summon Defiant Armor" This spell summoned on your cursor a few pieces of defiant armor depending on your level. does anyone know if this spell is usable in the Emulator servers and gives you the correct armor for your level? here is a link to the package if you do not know what I'm talking about.

http://everquest.allakhazam.com/db/item.html?item=75146
__________________
Also Knows as Tavish

Liquest Auctions, WTB AA's up to the current compatable clients PST with offer.

"A casual stroll through a lunatic asylum shows that faith does not prove anything." ~Fredrick Nietzsche

"Insanity: doing the same thing over and over again and expecting different results.." ~Albert Einstein
Reply With Quote
  #2  
Old 07-18-2015, 12:36 PM
Rikon's Avatar
Rikon
Sarnak
 
Join Date: May 2010
Location: US
Posts: 86
Default

Sorry for the necro of this post, but I'm running into the same issue. In that, I updated some loot tables to drop the boxes that have the spell effect: Summon Defiant Armor (spell id 205). Unfortunately, this is True North (haha). Anyone have a solid solution, or know the actual spell id for the desired effect?
Reply With Quote
  #3  
Old 07-18-2015, 12:48 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

This is a scripted spell, you would need to set up a quest to handle everything.
Reply With Quote
  #4  
Old 08-02-2017, 03:54 PM
Fridgecritter
Hill Giant
 
Join Date: Feb 2008
Posts: 188
Default

Necroing this post to see if there has been any toying with this as far as casting a spell using an item, and having it trigger a quest. How would you accomplish that? I was thinking you would just hand this in to an NPC and they would do a level check, hand you a couple pieces of the appropriate level armor and be done with it, but I thought the spell triggering a quest event idea sounded cool. Does anyone know how to do this?
Reply With Quote
  #5  
Old 08-02-2017, 10:30 PM
Sturm
Hill Giant
 
Join Date: Dec 2015
Posts: 116
Default

Save file in quests/global/items folder as:
script_1000.pl
Code:
sub EVENT_ITEM_CLICK {

   if ($itemid == 999999 && $ulevel <= 10 && !defined $qglobals{"Defiant10"}) {
        $client->NukeItem(999999);
		quest::setglobal("Defiant10", 1, 5, "F"); #prevent player from using item again
		quest::summonitem(123456); #whatever your defiant armor item ID is you want to add
		$client->Message(18, "You've summoned Defiant Armor!");
    } else {
        $client->Message(15, "Nice try, you're too powerful to use this.");
    }
}
Add the number of the script file to the item in the "Script File ID:" in this case it would be "1000". Add in any extra perl you want to suit your needs into the code and TADA! Item that uses a script on click.

Edit: I didn't check this for syntax or to see if it works, it should but just pointing you in the right direction here. Good luck!
Reply With Quote
  #6  
Old 08-03-2017, 10:35 AM
Fridgecritter
Hill Giant
 
Join Date: Feb 2008
Posts: 188
Default

Everything made sense until you said script file ID. Where in the database is that? This looks amazing.
Reply With Quote
  #7  
Old 08-03-2017, 10:42 AM
The_Beast's Avatar
The_Beast
Discordant
 
Join Date: May 2016
Location: Under a rock
Posts: 290
Default

Quote:
Originally Posted by Fridgecritter View Post
Everything made sense until you said script file ID. Where in the database is that? This looks amazing.
scriptfileid is a column in the items table
Reply With Quote
  #8  
Old 08-03-2017, 10:53 AM
Fridgecritter
Hill Giant
 
Join Date: Feb 2008
Posts: 188
Default

Perfect. I'll play with this today.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:45 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3