Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Savage Worlds
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Gumbytie
Senior Member
 
Join Date: Jun 2010
Location: Florida
Posts: 242

Old July 30th, 2023, 10:52 AM
So I have never tried to apply these bonuses to one particular weapon when equipped.

Example, from the Fantasy Companion the "Pathblocker". It grants the wielder +2 to his Fighting and damage rolls...

So this code works sort of:
Pre-Traits/5000

Code:
if (field[grIsEquip].value <> 0) then
   perform #traitprof[skFighting,+,2,"Pathblocker"]
   perform hero.child[miSFAPathblocker].setfocus
   focus.field[wpDmgBonus].value += 2
endif
Equip the weapon and the bonuses apply. But they apply to Fighting and the damage bonus to EVERY weapon character has, including Unarmed.

So can you make a script that applies bonuses like that JUST to the equipped weapon? I guess the same would apply for an equipped item.

Once again, just additional coding that would prove more useful for someone running game within HeroLab.
Gumbytie is offline   #1 Reply With Quote
 


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 08:22 PM.


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