View Single Post
Jhalad
Member
 
Join Date: Jun 2010
Posts: 90

Old July 8th, 2010, 03:56 PM
Quote:
Originally Posted by Lawful_g View Post
They have not been added yet. I have created Elf, Human, and Drow Paragon
I'm trying to create the Dwarf Paragon, but I'm having a heck of a time trying to figure out how to incorporate Craft Expertise. I'm guessing this scripting is done in C++ lanuage? I'm trying to modify the Lore ability from the Loremaster Pretidge class to perform a similar affect in the Dwarf Paragon, but I'm not having any luck. Ideas?

Here's my code I'm trying:

~our bonus is our level
var bonus as number
bonus = field[xAllLev].value
field[abValue].value += bonus

var bonus as number
field[listname].text = field[name].text & " +" & bonus

~we only apply the bonus on the first copy
doneif (tagis[Helper.FirstCopy] = 0)

foreach pick in hero from BaseSkill where "Helper.skCrafArm"
eachpick.field[Bonus].value += field[abValue].value
nexteach

foreach pick in hero from BaseSkill where "Helper.skCrafArmr"
eachpick.field[Bonus].value += field[abValue].value
nexteach

foreach pick in hero from BaseSkill where "Helper.skCrafLock"
eachpick.field[Bonus].value += field[abValue].value
nexteach

foreach pick in hero from BaseSkill where "Helper.skCrafSton"
eachpick.field[Bonus].value += field[abValue].value
nexteach

foreach pick in hero from BaseSkill where "Helper.skCrafWeap"
eachpick.field[Bonus].value += field[abValue].value
nexteach
Jhalad is offline   #3 Reply With Quote