Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 258

Old September 24th, 2016, 08:19 AM
So the ability One with All and Nothing for the Shiba Protector (OA) has its hTotal field = highest attribute modifier. How would I tell the system to check for this?
Illyahr is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 2,709

Old September 24th, 2016, 03:34 PM
Quote:
Originally Posted by Illyahr View Post
So the ability One with All and Nothing for the Shiba Protector (OA) has its hTotal field = highest attribute modifier. How would I tell the system to check for this?
Hmm....that's not something I've had to tackle before. I suppose I would just do a series of maximum scripts, as such:

Code:
var max as number
max = maximum(hero.child[aSTR].field[aModBonus].value,hero.child[aDEX].field[aModBonus].value]
max = maximum(max,hero.child[aCON].field[aModBonus].value]
etc...
Sendric is offline   #2 Reply With Quote
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 258

Old September 24th, 2016, 10:11 PM
Ok, thanks. I'll see what I can get to work.
Illyahr is offline   #3 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 02:28 PM.


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