Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2019, 09:55 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Things will differ between lua and perl, (for those who need the info), like this little clip example from the Priest of Discord, for the wiz/druid spells.

LUA
Code:
elseif((e.other:Class() == "Wizard" or e.other:Class() == "Druid")
Perl
Code:
elsif(($class eq "Wizard" || $class eq "Druid")
Reply With Quote
  #2  
Old 05-20-2019, 10:23 PM
Xanathol
Sarnak
 
Join Date: Oct 2009
Posts: 52
Default

Thank gang but still not firing. :(
Code:
	if( $race eq "Ogre" || $race eq "Troll" || $race eq "Barbarian" )
	{	$client->GrantAlternateAdvancementAbility(79, 1);
	}

Update: afte adding in some statements here & there, it turns out there's nothing wrong with the comparison - the AA just won't grant (I get inside the if statement, just the AA doesn't come through). So that's that. Thanks folks.
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 01:18 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3