revamped AA
Saw this on changelog.txt
== 7/2/2015 == KLS/Demonstar55: AA system has been rewritten fixing a ton of bugs and extending functionality while making it easier to create new AA points. KLS/Demonstar55: New tables are needed and so older data will need to be migrated to the new system. KLS/Demonstar55: The SQL saves the old aa points spent/avail/character_alt_abilities data if any server ops want to do something different than PEQ did with it. KLS/Demonstar55: Will try to get a wiki entry written up next week some time explaining the system but it's really not hard to follow the db tables in the meantime. is there a wiki reference yet? if so, can someone point me the way? |
Quick description assuming you're looking to do custom stuff:
Tables: aa_ability, aa_ranks, aa_rank_effects, an aa_rank_prereqs. Each of these tables correspond to a new class/object server side. Each AA line has a single aa_ability. Each aa_ability has multiple aa_ranks with various data. Each rank can have an associated aa_rank_effects, which is just spell data for the AA rank. The aa_rank_prereqs table may seem silly, but live now has AA that have multiple prereqs, which that lets us do. (that's RoF+, so you won't see them on older clients) That should give you kind of a good idea of how it all works just looking at the tables. Data common to every line is in aa_ability, note name in this table is just for easy of use, the actual displayed name is done via some DB string ID entries in aa_ranks since live has AAs that change name with each rank. The aa_ability table needs to point to the first rank ID, and each rank points to the next etc. |
Thanks... that will get me started. I have some custom AA in the old system I am trying to port over
|
This might help a bit, let me go over an AA:
Code:
select * from aa_ability where name = "Innate Strength"\G; Here we can see the first_rank_id tells us the first AA ID is 2. So lets grab that from aa_rank. Code:
select * from aa_ranks where id = 2\G; Code:
select * from aa_rank_effects where rank_id = 2\G; Code:
select * from aa_rank_prereqs where rank_id = 255\G; Code:
select * from aa_ability where id = 309\G; |
|
Very cool. Thanks again.
|
Sorry to revive this thread but I had another question and wanted to keep it all together...
What determines the cool down groups? What I mean is, If I click an AA and it greys out 2 other similar AA how do I change that? |
aa_ranks.spell_type
|
Thank you very much. Worked Perfectly
|
Has anyone been able to update a wiki or have a detailed guide on each field. I have been able to understand most of the linking, but fields like "Upper_Hotkey_sid" and "Lower_hotkey_sid" I have not understood yet.
|
Quote:
EDIT: I think it might be a dbstring ID actually, whatever. |
All times are GMT -4. The time now is 01:40 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.