Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#11 |
Member
Join Date: Feb 2012
Posts: 30
|
I am using these
Quote:
Quote:
|
||
#12 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Capitalization matters - tagis[Hero, not tagis[hero
|
#13 |
Member
Join Date: Feb 2012
Posts: 30
|
hahahaha thanks for that dude it is a good advice, I didn't noticed that... but it stills not working, this is how I am using it now:
Quote:
|
|
#14 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Final's too late. Try post-levels
|
#15 |
Member
Join Date: Feb 2012
Posts: 30
|
|
#16 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
This is why I like indenting if statements - it lets you see how they flow.
This is what you have: Code:
if (hero.tagcount[Hero.EquipWep] = 2) then if (tagis[Hero.EquipMain] <> 0) then if (tagis[Hero.EquipOff] <> 0) then field[BonEnhance].value = 5 endif endif endif |
#17 |
Member
Join Date: Feb 2012
Posts: 30
|
not necessarily, the thing is that the 3 conditions must be met for the bonus to apply, no matter the way really
To both weapons to be wielded at the same time To wield one of them on the main hand To wield the other weapon on the off hand (obviusly) if there is another way to evaluate the conditions that makes it easier and that could work, go ahead, because I think that the logical of the conditions it is correct and you all understand the idea of the weapon |
#18 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Re-read Aaron's posts #4 and #8 in this thread.
|
#19 |
Member
Join Date: Feb 2012
Posts: 30
|
hell yeah it is finally working!! thank you Aaron, ShadowChemosh and Mathias
here is a copy of the eval script if someone else needs to do some thing like this Quote:
Quote:
|
||
#20 |
Thread Tools | |
Display Modes | |
|
|