ashuramarsh
Well-known member
Hi all,
I am trying to add a class special from the old Conan RPG, working on a dataset for a pathfinder game here, so converting it over more or less. The special ability is called Seductive Art. What it does is at level 2 it adds a +1 to several skills. It does this every 4 levels thereafter as well.
Now I seem to have the bonuses working fine, except that when it adds the bonus it is adding a +2 each time instead of just a +1. What am I doing wrong or not doing?
This is the code i am using:
I am trying to add a class special from the old Conan RPG, working on a dataset for a pathfinder game here, so converting it over more or less. The special ability is called Seductive Art. What it does is at level 2 it adds a +1 to several skills. It does this every 4 levels thereafter as well.
Now I seem to have the bonuses working fine, except that when it adds the bonus it is adding a +2 each time instead of just a +1. What am I doing wrong or not doing?
This is the code i am using:
Code:
var levels as number
levels = #levelcount[temptress]
if (levels >= 2) then
hero.child[skDiplo].field[BonComp].value += 1
hero.child[skIntim].field[BonComp].value += 1
hero.child[AllPerform].field[BonComp].value += 1
hero.child[skSenseMot].field[BonComp].value += 1
endif
if (levels >= 6) then
hero.child[skDiplo].field[BonComp].value += 1
hero.child[skIntim].field[BonComp].value += 1
hero.child[AllPerform].field[BonComp].value += 1
hero.child[skSenseMot].field[BonComp].value += 1
endif
if (levels >= 10) then
hero.child[skDiplo].field[BonComp].value += 1
hero.child[skIntim].field[BonComp].value += 1
hero.child[AllPerform].field[BonComp].value += 1
hero.child[skSenseMot].field[BonComp].value += 1
endif
if (levels >= 14) then
hero.child[skDiplo].field[BonComp].value += 1
hero.child[skIntim].field[BonComp].value += 1
hero.child[AllPerform].field[BonComp].value += 1
hero.child[skSenseMot].field[BonComp].value += 1
endif
if (levels >= 18) then
hero.child[skDiplo].field[BonComp].value += 1
hero.child[skIntim].field[BonComp].value += 1
hero.child[AllPerform].field[BonComp].value += 1
hero.child[skSenseMot].field[BonComp].value += 1
endif