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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 04-10-2018, 12:31 AM
GRUMPY
Discordant
 
Join Date: Oct 2016
Posts: 445
Default

Just by coincidence, that expression is in a script example found in this thread here :

http://www.eqemulator.org/forums/sho...d.php?p=199896

I have no idea if it's relevant to this issue. Just digging.

Quote:
Originally Posted by trevius View Post
Here is a fairly simple example of using these 2 plugins together:

Code:
sub EVENT_ITEM_CLICK {

	if (!$client->EntityVariableExists(15) || plugin::GetTimeLeft($client->GetEntityVariable(15), "S") == 0)
	{
		# Do your spell script here
		# ...
		
		# Then set the new end time for the recast delay here
		my $EndTime = plugin::GetEndTime("S5");
		$client->SetEntityVariable(15, $EndTime);
	}
	else
	{
		$client->Message(13, "Spell recast time not yet met.");
	}

}
Basically, in this example, you are just using these plugins to create and enforce a recast delay within an item click script, which otherwise would not have a simple way to set a recast delay on.
Reply With Quote
 


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 08:40 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