Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
Old 03-26-2016, 11:23 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default Cloudy Potion

I made an item script for cloudy potions that will drop all forms of invisibility on you so that the potion can cast. Previously it wouldn't allow you to cast the invis spell if you were already invisible. This meant that you had to wait for it to completely drop before recasting, which is no good.

Stick this in a quests/global/items/script_###.pl file and update the item to point to it and should be all good.

Code:
sub EVENT_ITEM_CLICK {
  $client->BuffFadeByEffect(12);
  $client->BuffFadeByEffect(28);
  $client->BuffFadeByEffect(29);
}
Just thought I'd share in case anybody else has use for it
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
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 05:47 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