View Single Post
  #5  
Old 05-21-2019, 12:54 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
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.
__________________
Hanging out at Antonica.World
Reply With Quote