EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Custom (https://www.eqemulator.org/forums/forumdisplay.php?f=671)
-   -   Cloudy Potion (https://www.eqemulator.org/forums/showthread.php?t=40506)

N0ctrnl 03-26-2016 11:23 PM

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 :)


All times are GMT -4. The time now is 10:38 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.