Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Savage Worlds

Notices

Reply
 
Thread Tools Display Modes
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,200

Old May 18th, 2020, 06:25 AM
[SWADE] Various Examples which may be useful -

* Strength considered one die type higher for purposes of encumbrance, etc.
Quote:
Pre-Traits/5000
herofield[acLoadBonus].value += 1

Working on -
  • (SWADE) WIP Savage Rifts
  • Savage Rifts (Deluxe): Update link in This post
  • Star Trek Adventures: Update link in This post
TCArknight is offline   #41 Reply With Quote
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,200

Old July 2nd, 2020, 11:21 AM
This will probably work in either version -

Say you have a piece of gear that gives you a particular Strength when equipped (for example is a d12+1)
Code:
Pre-Traits/5100
var strdiff as number
var curr as number

if (field[grIsEquip].value <> 0) then
  ~ get current values
  curr = #traitbonus[attrStr] + #traitcreation[attrStr] + #traituser[attrStr]
  ~ set strength to d12+1
  strdiff = 7 - curr
  #traitinplay[attrStr] += strdiff
  endif

Working on -
  • (SWADE) WIP Savage Rifts
  • Savage Rifts (Deluxe): Update link in This post
  • Star Trek Adventures: Update link in This post
TCArknight is offline   #42 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 10:23 AM.


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