PDA

View Full Version : AA question


takatok
06-10-2009, 01:42 PM
In trying to get shield block woring correctly I searched the forum and wiki to figure out the altadv_vars table. This is what I have so far, was wondering if anyone could help me fill in the blanks.

1. Skill_id -- ID number the client will know
2. Name -- Name of the AA
3. Cost -- Base cost of the AA
4. max_level -- How many ranks you can buy

5. hotkey_sid -- The internal number for client? for hotkey discs
6. hotkey_sid2 -- ??
** 4294967295 = Not able to hotkey ?
** 2147483647 = Another no hotkey number ?
and are they the same for both sid and sid2?

7. title_sid -- Index into the client's str file for the name
8. desc_sid -- Index into the client's str file for the desc
** These numbers (title_sid and desc_sid) seem to be an index into eqstr_en.txt, though I've seen reference to dbstr_us.txt in other posts. Also when figuing out Shield Block AA I coudln't find it in the file so I just used a random one (Ferocity i think). THe client still correctly showed the title and Desc in the AA window. So I don't even know what these are used for, or if necessary.

9. type -- Which AA window to stick it in
10. spellid -- Not sure what this is ??
** 4294967295 = whats this mean for spell_id.

11. pre_req skil -- Index into skill_id for skill required to buy this.
12. pre_req_minpoints -- How many points needed in pre_req skill
13. spell_type -- Is this an index into the aa_affects table?
14. spell_refresh -- time in seconds it takes for the ability reuse timer
15. classes -- bitflags for which classes get this AA.
** This seems to be OR the values from class.h warrior_1, wizard_1 , etc but doubling the value. Is there another define list i'm missing? or is the first bit used for something else.

16 beserker -- extra bitflag for beserker enabling?
17. class_type -- Min. level to buy the AA
** Is there something that sets each level. For example in live many aas you needed 61 , 63 and 65 for each level to buy in the same AA.
18. cost_inc -- How much extra each level costs -- so you can get the 2/4/6 or 3/6/9 type of costs.


Any help in filling in the gaps would be appreciated.

Tony

takatok
06-10-2009, 02:32 PM
AGH! I thought I switched to the main development forum. Sorry :( Could you move this post over there?

Tony