Hey Dee, I started to mess around with your mod, it feels so great to add a whole new mechanic to the game. excellent
work!
Testing:
I activated the "filthy Lucre" Perk, killed 1 warbeast and spawed a ZOMBIE_ANCIENT_CHAMP that gave me 150 Fame but 0 gold... As I followed your instructions 1 by 1 it worked. As i killed a warbeast activated the Perk and killed 2 champs, no gold then I de- and activated it again, killed more champs and gained the bonus...
Result:
The Fametogold isn't the best thing for testing because you cant see if its applied or not. better use playeraffix for testing.
I created a Perk myself using PLAYERSTAT and PLAYERAFFIX as reward but couldnt get it working.
Spoiler: PLAYERSTAT (hover to show) [TASK0] <STRING>TYPE:PLAYERSTAT <INTEGER>COUNT:10 <STRING>STAT:CHARACTER STEPS TAKEN [/TASK0]
I'm using the Player Steps Taken Stat what is a static stat so I created a stat with that name and the Predefined_Int for dynamic use. still so result.
I changed back to PLAYERKILL and got the affix applied (PERK_ROLLOVER.LAYOUT stays the same => hard to see if applied or not!)
I modded your PERK for testing and found something interesting:
Spoiler: Filthy Lucre (hover to show) [PERK] <TRANSLATE>NAME:Filthy Lucre <TRANSLATE>DETAILS:|cFF0467FBKill 1 Warbeast.\nPerk: Converts each point of Fame earned into gold.|u <STRING>ICON:skillicon_barter <STRING>ICON_DISABLED:ig_skill_empty <INTEGER64>GUID:-3134059470467886625 [TASK0] <STRING>TYPE:PLAYERKILLS <INTEGER>COUNT:1 <STRING>UNIT:Warbeast [/TASK0] [REWARD0] <STRING>TYPE:FAMETOGOLD <INTEGER>FAME:1 [/REWARD0] [TASK1] <STRING>TYPE:PLAYERKILLS <INTEGER>COUNT:2 <STRING>UNIT:Warbeast [/TASK1] [REWARD1] <STRING>TYPE:FAMETOGOLD <INTEGER>FAME:2 [/REWARD1] [TASK2] <STRING>TYPE:PLAYERKILLS <INTEGER>COUNT:3 <STRING>UNITTYPE:MONSTER_CHAMPION [/TASK2] [REWARD2] <STRING>TYPE:FAMETOGOLD <INTEGER>FAME:3 [/REWARD2] [TASK3] <STRING>TYPE:PLAYERKILLS <INTEGER>COUNT:4 <STRING>UNIT:Warbeast [/TASK3] [REWARD3] <STRING>TYPE:FAMETOGOLD <INTEGER>FAME:4 [/REWARD3] [/PERK]
Now the progress showed 0/10, this is the total count 1+2+3+4 = 10 even if there are only 4 tasks and rewards...
After killing 1! warbeast I ended up with 3/10 => there are 3 tasks containing kill Warbeast
After killing more I ended up 7/10 => 1+2+4
=> to get 10/10 I need to kill the 3 champs
This shows you can set up multiple different tasks to get the rewards. TaskX and RewardX are not bound to each other - i.e. for 2 "progressions/counts" you get 2 rewards. I believe the only thing you can set is the order you receive rewards. placing the same task multiple times makes less sense since "progression" will show wrong numbers until u hit the max count of that task.
Playerstat needs testing... or I'm just dump setting it up.
this is gettin funky!