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-21-2019, 12:54 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Technically, you don't need a script to assign an AA to specific classes or races. You can do that in the aa_ability table. Set races to 770 for Ogre, Troll and Barbarian. Then in aa_actions table (aaid entrry) set the rank to 0, then whatever reuse time, spell_id and target. In altadv_vars, set cost to 0, max level to 1. In aa_ranks set the cost to 0 and level_req to 1. After that, when an ogre, barbarian or troll login, they will have the option to purchase the AA for 0 cost. (I just tested all this out). I logged in other races and there was no AA for them to purchase.
Reply With Quote
  #2  
Old 05-21-2019, 02:02 AM
Xanathol
Sarnak
 
Join Date: Oct 2009
Posts: 52
Default

Thanks I may try that. I'll have to code up a secondary 2 hand bash AA to do it though, since I was hijacking the knight on in my testing. I do like the autogrant btw - that way a user doesn't have to go look for it and buy it. Works well on my custom warrior aggro proc one.
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 03:47 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