Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

Reply
 
Thread Tools Display Modes
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old October 10th, 2020, 02:39 PM
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.
Attached Images
File Type: jpg Eldritch Weapon Display.jpg (115.2 KB, 3 views)

Last edited by jbearwillis; October 10th, 2020 at 02:42 PM.
jbearwillis is online now   #1 Reply With Quote
DeltaMasterMind
Senior Member
 
Join Date: Jul 2014
Posts: 412

Old October 10th, 2020, 07:21 PM
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.

Forum link for my content work:
Pathfinder Thread
Forum link for SU 5e content work:
5e Steven Universe Thread
This link is for my group, but feel free to play it with:
DMM 5e | "https://www.dropbox.com/s/vsd9w1eodlnwjq0/updatesDMM.xml?dl=1" Copy this link to your update manager to get updates when available.
This adds the Pisky subrace to elves from Berserk! and additional subraces for the Gem Race.
Please post comments in the provided threads above.
DeltaMasterMind is offline   #2 Reply With Quote
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old October 10th, 2020, 07:24 PM
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 by jbearwillis; October 10th, 2020 at 07:27 PM.
jbearwillis is online now   #3 Reply With Quote
DeltaMasterMind
Senior Member
 
Join Date: Jul 2014
Posts: 412

Old October 10th, 2020, 08:05 PM
If this script runs inside the weapon then the below should work.
Quote:
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.

Forum link for my content work:
Pathfinder Thread
Forum link for SU 5e content work:
5e Steven Universe Thread
This link is for my group, but feel free to play it with:
DMM 5e | "https://www.dropbox.com/s/vsd9w1eodlnwjq0/updatesDMM.xml?dl=1" Copy this link to your update manager to get updates when available.
This adds the Pisky subrace to elves from Berserk! and additional subraces for the Gem Race.
Please post comments in the provided threads above.
DeltaMasterMind is offline   #4 Reply With Quote
DeltaMasterMind
Senior Member
 
Join Date: Jul 2014
Posts: 412

Old October 10th, 2020, 08:10 PM
Like so:
Quote:
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

Forum link for my content work:
Pathfinder Thread
Forum link for SU 5e content work:
5e Steven Universe Thread
This link is for my group, but feel free to play it with:
DMM 5e | "https://www.dropbox.com/s/vsd9w1eodlnwjq0/updatesDMM.xml?dl=1" Copy this link to your update manager to get updates when available.
This adds the Pisky subrace to elves from Berserk! and additional subraces for the Gem Race.
Please post comments in the provided threads above.
DeltaMasterMind is offline   #5 Reply With Quote
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old October 11th, 2020, 02:36 PM
Thank You
jbearwillis is online now   #6 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:59 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.