I'm trying to duplicate the following item...
This +1 longsword adds +5 to the wielder’s Move Silently checks. Further, anyone dealt a lethal blow by the blade is magically silenced, so that they cannot cry out, making silence an excellent weapon for assassins and others who wish to slay quickly and quietly.
Faint Illusion; CL 5th; Craft Magic Arms and Armor, silence; Price 6,315 gp Cost to Create: 3,315.
So, I've got a gizmo pointing to a longsword. I've got the +1 enhancement. And I'm trying to create a eval script to handle the +5 to stealth(in pathfinder). But I can't figure out how to do an OR in the editor.
I want to do if it's equipped then +5 to the skStealth... But I'm getting an annoying error. Invalid use of a reserved word in script. Script is as follows.
if (field[gIsEquip].value = 1) then
#skillbonus[skStealth] = #skillbonus[skStealth] + 5
endif
if( field[wIs2nd].value = 1) then
#skillbonus[skStealth] = #skillbonus[skStealth] + 5
endif
Please help get me on the right path.
This +1 longsword adds +5 to the wielder’s Move Silently checks. Further, anyone dealt a lethal blow by the blade is magically silenced, so that they cannot cry out, making silence an excellent weapon for assassins and others who wish to slay quickly and quietly.
Faint Illusion; CL 5th; Craft Magic Arms and Armor, silence; Price 6,315 gp Cost to Create: 3,315.
So, I've got a gizmo pointing to a longsword. I've got the +1 enhancement. And I'm trying to create a eval script to handle the +5 to stealth(in pathfinder). But I can't figure out how to do an OR in the editor.
I want to do if it's equipped then +5 to the skStealth... But I'm getting an annoying error. Invalid use of a reserved word in script. Script is as follows.
if (field[gIsEquip].value = 1) then
#skillbonus[skStealth] = #skillbonus[skStealth] + 5
endif
if( field[wIs2nd].value = 1) then
#skillbonus[skStealth] = #skillbonus[skStealth] + 5
endif
Please help get me on the right path.