+- +-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Stats ezBlock

Members
Total Members: 142
Latest: Walburn
New This Month: 3
New This Week: 0
New Today: 0
Stats
Total Posts: 711
Total Topics: 343
Most Online Today: 4
Most Online Ever: 20
(June 30, 2017, 12:18:50 AM)
Users Online
Members: 0
Guests: 4
Total: 4

Author Topic: Add the INit modifier for Battle Harness  (Read 1122 times)

SAbel

  • Administrator
  • Full Member
  • *****
  • Posts: 116
    • View Profile
Add the INit modifier for Battle Harness
« on: July 25, 2015, 04:11:14 PM »
Is there a fast way to create the init bonus that Battle Harnes is to add according to its modifier bonus?

"Properties: As a free action, you can draw a sheathed weapon or retrieve a stowed item.
You gain a power bonus to initiative equal to the item's enhancement bonus."
Wherever you go that's where you are!

dmayhew469

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Add the INit modifier for Battle Harness
« Reply #1 on: June 15, 2017, 08:27:12 PM »
Add this eval script:

Phase:  Traits
Priority: 1000
Script:
    doneif (tagis[Equipped.Equipped] = 0)
    var bonus as number
    bonus = 1
    #traitmodify[trInit,trtPower,bonus,""]

Timing  Before: Derived trtFinal

You will have to add this to each item and change the bonus to match the enhancement bonus of the item.

SAbel

  • Administrator
  • Full Member
  • *****
  • Posts: 116
    • View Profile
Re: Add the INit modifier for Battle Harness
« Reply #2 on: June 27, 2018, 09:05:33 PM »
Hey this is a long time past due [120 days+]
But this did not add to the initiative when equipped. any ideas?
Wherever you go that's where you are!

Charlie

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Add the INit modifier for Battle Harness
« Reply #3 on: June 28, 2018, 11:24:49 PM »
We had this issue with the Quicksilver Blade, and this script worked:

(EDIT: Apparently the Battle Harness is a Power Bonus rather than an Item Bonus, so I modified to match)

Phase Traits

Priority 1000

doneif (parent.tagis[Equipped.Equipped] = 0)
#traitmodify[trInit,trtPower,1,""]

Timing  Before Derived trtFinal
« Last Edit: June 29, 2018, 12:07:38 AM by Charlie »

SAbel

  • Administrator
  • Full Member
  • *****
  • Posts: 116
    • View Profile
Re: Add the INit modifier for Battle Harness
« Reply #4 on: July 03, 2018, 10:00:35 PM »
Awesome not only does it work but I tested it with a weapon of speed and that works as well plus HL only uses the higher of the two bonuses!

Thank you for the help!
Wherever you go that's where you are!

SAbel

  • Administrator
  • Full Member
  • *****
  • Posts: 116
    • View Profile
Re: Add the INit modifier for Battle Harness
« Reply #5 on: July 03, 2018, 10:19:21 PM »
Okay I was thinking
Weapon of speed is a Property: While holding this weapon, you gain an item bonus to initiative checks equal to the weapon?s enhancement bonus.
Battle Harness is Properties: You gain a power bonus to initiative equal to the item?s enhancement bonus.

So would those stack or only take the best result? since one is item and the other power? is so then what would be the script difference between them?
Wherever you go that's where you are!

Charlie

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Add the INit modifier for Battle Harness
« Reply #6 on: July 05, 2018, 12:22:32 AM »
The scripts are the same except that the Quicksilver Blade uses trtItem instead of trtPower; being separate bonus types, they stack (I confirmed this with my character).

SAbel

  • Administrator
  • Full Member
  • *****
  • Posts: 116
    • View Profile
Re: Add the INit modifier for Battle Harness
« Reply #7 on: July 05, 2018, 09:19:35 PM »
Okay so I am getting a few mixed messages from my HL :( its been a bad day for me anyway so why not here as well.
I am not getting a stacked bonus, I am getting a timing error and now I get this message "Thing to replace is already replaced by another thing and cannot be superceded" so it will not update the items. I know that its replacing the old equipment item but it should still save!

 

ARRRgg this is why I am not a programmer.

I have attached my June & July Updates in case anyone has some time to see what I did wrong. Then if they can explain it to me I will fix it and make changes in my new notes.
I am working with the Weapon of Speed and Battle Harness right now once I have those I can spread out more [cause more problems]
Thanks all
Wherever you go that's where you are!

 

+-Recent Topics

I have run into a problem with Power class types by SAbel
August 18, 2018, 11:43:05 PM

Demon Spawn by Charlie
August 18, 2018, 06:51:37 PM

GenCon 2018 by SAbel
August 10, 2018, 01:10:30 AM

War Wizard's Expertise by SAbel
July 14, 2018, 09:26:27 AM

Rhythm Blade by SAbel
July 13, 2018, 11:07:16 PM

Critical hit damage by SAbel
July 05, 2018, 09:28:40 PM

Summoned and companion ect by SAbel
July 05, 2018, 09:26:46 PM

Druids by SAbel
July 05, 2018, 09:24:16 PM

Add the INit modifier for Battle Harness by SAbel
July 05, 2018, 09:19:35 PM

Making Utility Powers? by SAbel
July 01, 2018, 09:12:03 PM

Race Rebuild (All) by SAbel
July 01, 2018, 09:05:34 PM

Hero Lab v8.5 messed up 4e by Charlie
April 30, 2018, 11:03:57 PM

Color for Encounter Powers by Charlie
March 10, 2018, 10:57:11 PM

How to allow resistance show up by Charlie
December 06, 2017, 12:56:04 AM

Total Newb... but... by Johnny B Evil
November 26, 2017, 07:52:48 AM

Feat Valenar Weapon Training by Eldyn
October 13, 2017, 08:53:03 PM

4e license question by Cryptoknight
June 25, 2017, 09:28:29 PM

Remove/increase limit on Temporary Adjustment value? by Fox Lee
June 22, 2017, 07:30:45 PM

Change Attack Ability by dmayhew469
June 15, 2017, 07:57:20 PM

Would somebody like to take this over? by dmayhew469
June 09, 2017, 02:02:12 PM

Inherent Bonuses by dmayhew469
June 09, 2017, 01:59:28 PM

No Class or Race options by rkjanik
June 06, 2017, 01:57:21 AM

Spy by Mckinley
May 25, 2017, 02:06:57 AM

Is there a guide out for how to build a race by SAbel
May 05, 2017, 11:59:46 PM

Please read this and weigh in - Issue/Source/Document Version Control System by Charlie
April 27, 2017, 09:54:40 PM

Powered by EzPortal