Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hmm. Okay, I'll look into it. It'd be helpful if you could please attach a .por demoing the bug so I can poke at it.
doneif (field[usrChosen1].ischosen = 0)
perform field[usrChosen1].chosen.pulltags[MelAttOver.?]
foreach pick in hero from BaseWep where "wCategory.Melee & (wClass.Light | Helper.Finesse)"
perform eachpick.pushtags[MelAttOver.?]
nexteach
~ Get the list of weapons in the group.
var searchexp as string
searchexp = tagids[wFtrGroup.?,"|"]
~ Tag the hero has having weapon focus for each weapon
~ in order to satisfy pre-requisites for feats that
~ require weapon focus with a specific weapon.
foreach thing in BaseWep where searchexp
if (eachthing.tagis[WepFocus.?] <> 0) then
[COLOR="Red"]perform hero.assignstr[eachthing.tagids[WepFocus.?, ","]][/COLOR]
endif
nexteach
<thing id="wWiSFlmBl" name="Flame Blade" description="." compset="Weapon" replaces="wFlameBlad">
<tag group="Helper" tag="FixSizeDmg" name="FixSizeDmg" abbrev="FixSizeDmg"/>
<tag group="Helper" tag="Helper" name="Helper" abbrev="Helper"/>
<tag group="Helper" tag="NoOutGear" name="NoOutGear" abbrev="NoOutGear"/>
<tag group="Helper" tag="NoSelect" name="NoSelect" abbrev="NoSelect"/>
<tag group="IsWeapon" tag="wScimitar" name="Scimitar" abbrev="Scimitar"/>
<tag group="SpInfo" tag="spFlamBla2" name="Flame Blade" abbrev="Flame Blade"/>
<tag group="wCategory" tag="Melee" name="Melee Weapon" abbrev="Melee"/>
<tag group="wClass" tag="OneHanded" name="One-Handed" abbrev="One-Handed"/>
<tag group="wCritMin" tag="20" name="20" abbrev="20"/>
<tag group="wCritMult" tag="2" name="2" abbrev="2"/>
<tag group="wFtrGroup" tag="BladeHeavy" name="Heavy Blades" abbrev="Heavy Blades"/>
<tag group="wMain" tag="1d8" name="1d8" abbrev="1d8"/>
<tag group="wMaxStrBon" tag="0"/>
<tag group="wProfReq" tag="Martial" name="Martial" abbrev="Martial"/>
<tag group="wType" tag="Fire" name="Fire" abbrev="Fire"/>
<tag group="Helper" tag="Finesse"/>
<tag group="wMaxStrPen" tag="0"/>
</thing>
WepFocus.wWiSFlmBl,WepFocus.wFlameBlad
Invalid syntax for tag template
Location: 'eval' script for Thing 'fwsWepFoc' (Eval Script '#1') near line 34
var tagString as string
var myTag as string
tagString = eachthing.tagids[WepFocus.?, "|"]
if (pos(tagString, “|”) = -1) then
~ there is just one WepFocus tag on item, so assign it to the hero
perform hero.assignstr[tagString]
else
~ parse out each tag and assign them seperately
<parsing code here>
endif
~ Tag the hero has having weapon focus for each weapon
~ in order to satisfy pre-requisites for feats that
~ require weapon focus with a specific weapon.
foreach thing in BaseWep where tagids[wFtrGroup.?,"|"]
~ Pull each tag from the Thing to ourself
perform eachthing.pulltags[WepFocus.?]
nexteach
~ Push all pulled tags to the hero
perform hero.pushtags[WepFocus.?]
doneif (hero.tagis[source.WiSRules] + hero.tagis[source.WiSWeapons] = 0)
~ We're an NPC, and subject to feat taxes, so we're done
doneif (hero.tagis[WiSRules.PayFeatTax] <> 0)
~ Check if we're a Tempered Champion
doneif (hero.tagcount[ClassVary.arPalTmpCh] = 0)
perform hero.assign[BonusFor.wsTempChamp]