problem to configure a skill

problem to configure a skill

rixty's picture

I have set this skill in /powers/powers.txt

[power]
id=2001
name=Innate Skill
type=fixed
buff=true
passive=true
icon=256
description=Innate Skill
post_effect=offense,19,0
post_effect=defense,24,0
post_effect=physical,19,0
post_effect=mental,14,0
post_effect=hp,50,0
post_effect=mp,15,0

[power]
id=2002
name=Innate Skill
type=fixed
buff=true
passive=true
icon=256
description=Innate Skill
post_effect=offense,19,0
post_effect=defense,24,0
post_effect=physical,19,0
post_effect=mental,14,0
post_effect=hp,52,0
post_effect=mp,16,0

I set this in the file /powers/trees/default.txt

[power]
id=2001
tab=2
position=80,35
upgrades=2002
requires_level=1

[upgrade]
id=2002
requires_level=2

I would like, at level 2 of the character, the skill would update automatically, without spending skill points, but it does not work at the moment ... I do not know where I'm wrong