editor for Traits
Posted: Sun Apr 14, 2019 4:47 pm
we will need an editor for the spell_traits table here is how this table works
spell_id -- the ID of the spell
level -- this is only used by the Training tab, or old school traits and specifies at what level you are offering that trianing, ie 14,14,34,44,54 etc
class_req -- this is the class req for this trait only one class per entry is allowed ( class numbers can be seen in the classes.h file 255 is any class
race _req -- this is the race for this trait only 1 race per entry is allowed ( race numbers can be found in the race.h file
only one of the following should be set to 1 the other 3 to 0
isTrait -- this is a hold over from the orginal way EQ2 did traits and is no longer used, even though the info is sent in a packet on Live servers today
isInate -- this will be set to 1 if this is one of the 3-5 innate abilites given to each race they are automatic and you do not have to select them
isFocusEffect --is set to 1 for spells that are on the focus effects page
IsTraining -- this is for spells on the training page with the following option required as well
level -- describe above
tier -- will be set to the highest tier you have for the spell ( is the defualt in live is for GrandMaster later these can be set to Ancient or Celestial if you want and the tier exists
if none of the 4 isXxxxx options apply then all 4 are 0 for traits on first tab, there are 6 groups 0-5
you will be required to set the group number or all traits on first page will show up under the 1st group
Tier -- will generally be set to the highest tier of the spells availalbe
remineder all traits and attributes are essentailly spells so they need spell_data, spell_display_effects, and scripts as well
any questions let me know
Edit:: the old isTraits are still used in Dov,in client
spell_id -- the ID of the spell
level -- this is only used by the Training tab, or old school traits and specifies at what level you are offering that trianing, ie 14,14,34,44,54 etc
class_req -- this is the class req for this trait only one class per entry is allowed ( class numbers can be seen in the classes.h file 255 is any class
race _req -- this is the race for this trait only 1 race per entry is allowed ( race numbers can be found in the race.h file
only one of the following should be set to 1 the other 3 to 0
isTrait -- this is a hold over from the orginal way EQ2 did traits and is no longer used, even though the info is sent in a packet on Live servers today
isInate -- this will be set to 1 if this is one of the 3-5 innate abilites given to each race they are automatic and you do not have to select them
isFocusEffect --is set to 1 for spells that are on the focus effects page
IsTraining -- this is for spells on the training page with the following option required as well
level -- describe above
tier -- will be set to the highest tier you have for the spell ( is the defualt in live is for GrandMaster later these can be set to Ancient or Celestial if you want and the tier exists
if none of the 4 isXxxxx options apply then all 4 are 0 for traits on first tab, there are 6 groups 0-5
you will be required to set the group number or all traits on first page will show up under the 1st group
Tier -- will generally be set to the highest tier of the spells availalbe
remineder all traits and attributes are essentailly spells so they need spell_data, spell_display_effects, and scripts as well
any questions let me know
Edit:: the old isTraits are still used in Dov,in client