News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 298
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 311
Total: 311

Author Topic: Adding points to player skills and stats pool with 'add stat' effect  (Read 3166 times)

0 Members and 78 Guests are viewing this topic.

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 logic

I'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:

Code: [Select]
[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?
« Last Edit: August 24, 2014, 04:55:27 am by Wolven »

Share on Bluesky Share on Facebook


Re: Adding points to player skills and stats pool with 'add stat' effect
« Reply #1 on: »
Not sure why that isn't working. 

There is a SET STAT effect you could try.

 

Recent Topics+-