I'm trying to control the level of the players in TLA for testing. I want to be able to level the player, to specific level and/or give the player N amount of skill and stat points.
I've asked about this before in the Runic forums:
Level Up a Player N levels with consumable or logicI've tried making a quest repeatable, by adding <BOOL>REPEATABLE:1 to the quest, but I can't get it to work. I can only do the quest once.
So I've decided to revisit using a consumable or a skill, or some other method of setting the level of the player and/or giving it skill and stat points.
There are three stats in the game I want to manipulate: 'current_player_skill_pts', 'current_player_stat_pts' and 'Experience Level'.
Now I'm trying to simply create a potion which will add N points to one or more of the stats above. I'm trying to do this with an affix (Effect) on the potion. The affix looks like this:
[EFFECT]
<STRING>NAME:current_player_skill_pts
<STRING>ACTIVATION:DYNAMIC
<STRING>DURATION:INSTANT
<STRING>TYPE:ADD STAT
<STRING>PARTICLE_FX:media/particles/events/GenericPotion.layout
<FLOAT>MIN:5
<FLOAT>MAX:5
<FLOAT>CHANCE:100
[/EFFECT]
In my frustrated mind this should add 5 points to the players skill point pool. But it doesn't. The potion does nothing... So any idea how I can achieve this?
Not sure why that isn't working.
There is a SET STAT effect you could try.