Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Dark_Soul
Member
 
Join Date: Mar 2016
Posts: 55

Old September 20th, 2020, 05:09 PM
I have a character that just got a pair of these, and I'd like to get what's entered already, scripted correctly.

They grant a +1 enhancement bonus to melee damage when equipped. This appears to already be scripted. However, if you worship a deity with the War domain, this bonus increases to +3, but only with the deity's favored weapon.

Honestly not sure where to start on this one. Any help is appreciated.

Last edited by Dark_Soul; September 20th, 2020 at 05:22 PM.
Dark_Soul is offline   #1 Reply With Quote
Provos
Senior Member
 
Join Date: Mar 2011
Location: USA
Posts: 383

Old September 20th, 2020, 10:51 PM
Sometimes it is best to just use adjustments to do complicated things.
Provos is offline   #2 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,144

Old September 21st, 2020, 05:40 AM
Quote:
Originally Posted by Dark_Soul View Post
I have a character that just got a pair of these, and I'd like to get what's entered already, scripted correctly.

They grant a +1 enhancement bonus to melee damage when equipped. This appears to already be scripted. However, if you worship a deity with the War domain, this bonus increases to +3, but only with the deity's favored weapon.

Honestly not sure where to start on this one. Any help is appreciated.
Because deities were only recently (relatively speaking) entered, things like this haven't been addressed. However, it should be pretty easy. I just made a new portfolio and selected a deity at random. Looking at the hero tags, I see several "AllowDom.?" tags. It should be possible to use this tag to apply the bonus with something like:

Code:
if (hero.tagis[AllowDom.cdWar] <> 0) then
  bonus = 3)
endif
The tricky part here will be figuring out the deity's favored weapon(s).

In the meantime, the suggestion provided by Provos above will suit your needs.

Last edited by Sendric; September 21st, 2020 at 05:43 AM.
Sendric 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 12:03 PM.


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