I testes a bit hardcoded Champion System and is fine of basical features, work good!
But have thinked some idea to do it better. According to @xwerswoodx i make this new "Issue" for keep more clear whit my old one.
-
Adding a parameter on t_champion_spawn for chose range of mobs spawn away from idol.
-
Addin a trigger like "@ChampFinished" and it trigger when boss go down (i know i can manage it on event in NPC boss but a trigger is more clear.
-
Add a local or some kind of list/dictionary (Like attecker) in @ChampFinished for return a list of UID(char) do the campion and a score (damage done on mobs?).
Some like Dictionary<TKey,TValue>, Key is uid and Value is damage done.
I also know i can manage it by scripting damage record on e_spawn_champion events but i think (someone tell me if wrong, because is a question when i get never answer) Hardcoded code is more fast and make a little impact like a script.
This point (2/3) i think is good to allow users to make own script for calculate a score board and make function for assign drop ecc ecc.
For now no other ideas ;)
Thx and keep good work.
PS: Sorry for my PRO english :p
I testes a bit hardcoded Champion System and is fine of basical features, work good!
But have thinked some idea to do it better. According to @xwerswoodx i make this new "Issue" for keep more clear whit my old one.
Adding a parameter on t_champion_spawn for chose range of mobs spawn away from idol.
Addin a trigger like "@ChampFinished" and it trigger when boss go down (i know i can manage it on event in NPC boss but a trigger is more clear.
Add a local or some kind of list/dictionary (Like attecker) in @ChampFinished for return a list of UID(char) do the campion and a score (damage done on mobs?).
Some like Dictionary<TKey,TValue>, Key is uid and Value is damage done.
I also know i can manage it by scripting damage record on e_spawn_champion events but i think (someone tell me if wrong, because is a question when i get never answer) Hardcoded code is more fast and make a little impact like a script.
This point (2/3) i think is good to allow users to make own script for calculate a score board and make function for assign drop ecc ecc.
For now no other ideas ;)
Thx and keep good work.
PS: Sorry for my PRO english :p