• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

When Duel Wielding - Off hand weapon damage help

jbearwillis

Well-known member
Ok, I was wondering if their was a way to have the Extra Damage text that I have added on the weapon, be hidden like the Bonus Damage is in the off-hand, when the character is duel wielding... the Bonus Damage disappears like it should, I would like the Text damage to hide as well, It is on the Extra damage text.... Thanks for any help. I would just like it to work for the 3 Eldritch Weapons I made... Image shows what I mean and want hidden.
 

Attachments

  • Eldritch Weapon Display.jpg
    Eldritch Weapon Display.jpg
    115.2 KB · Views: 3
Last edited:
You can either put a doneif statement using wIs2nd tag before the extra damage script or use a if statement using the gIsEquip tag. Using either will do the job, but I am not sure how you have it scripted out.
 
DeltaMasterMind here is how I have it scripted... and it works perfectly, other then not hiding the text, which I know I don't have scripted yet... so how would I add what you said....

doneif (tagis[Helper.Disable] = 1)

~ foreach pick in hero from BaseWep
foreach pick in hero from BaseWep where "wGroup.JDWEldFam"
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 1)then
eachpick.field[wDamExtra].text = " + 1d2 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 2) then
eachpick.field[wDamExtra].text = " + 1d4 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 3) then
eachpick.field[wDamExtra].text = " + 1d6 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 4) then
eachpick.field[wDamExtra].text = " + 1d8 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 5) then
eachpick.field[wDamExtra].text = " + 1d10 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 6) then
eachpick.field[wDamExtra].text = " + 1d12 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 7) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d4 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 8) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d6 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 9) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d8 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 10) then
eachpick.field[wDamExtra].text = " + 2d10 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 11) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d12 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value >= 12) then
eachpick.field[wDamExtra].text = " + 2d10 + 1d4 chaos"
endif
nexteach
 
Last edited:
If this script runs inside the weapon then the below should work.
doneif (tagis[Helper.Disable] = 1)
doneif (field[wIs2nd].value = 1)

~ foreach pick in hero from BaseWep
foreach pick in hero from BaseWep where "wGroup.JDWEldFam"
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 1)then
eachpick.field[wDamExtra].text = " + 1d2 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 2) then
eachpick.field[wDamExtra].text = " + 1d4 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 3) then
eachpick.field[wDamExtra].text = " + 1d6 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 4) then
eachpick.field[wDamExtra].text = " + 1d8 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 5) then
eachpick.field[wDamExtra].text = " + 1d10 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 6) then
eachpick.field[wDamExtra].text = " + 1d12 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 7) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d4 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 8) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d6 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 9) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d8 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 10) then
eachpick.field[wDamExtra].text = " + 2d10 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 11) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d12 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value >= 12) then
eachpick.field[wDamExtra].text = " + 2d10 + 1d4 chaos"
endif
nexteach
If it runs form another source then the foreach will have to check for the wIs2nd and deny the run.
 
Like so:
doneif (tagis[Helper.Disable] = 1)

~ foreach pick in hero from BaseWep
foreach pick in hero from BaseWep where "wGroup.JDWEldFam | !Hero.OffHand"
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 1)then
eachpick.field[wDamExtra].text = " + 1d2 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 2) then
eachpick.field[wDamExtra].text = " + 1d4 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 3) then
eachpick.field[wDamExtra].text = " + 1d6 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 4) then
eachpick.field[wDamExtra].text = " + 1d8 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 5) then
eachpick.field[wDamExtra].text = " + 1d10 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 6) then
eachpick.field[wDamExtra].text = " + 1d12 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 7) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d4 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 8) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d6 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 9) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d8 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 10) then
eachpick.field[wDamExtra].text = " + 2d10 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value = 11) then
eachpick.field[wDamExtra].text = " + 1d10 + 1d12 chaos"
endif
if (#attrmod[aCHA] + eachpick.field[dmrBonus].value >= 12) then
eachpick.field[wDamExtra].text = " + 2d10 + 1d4 chaos"
endif
nexteach
 
Back
Top