News:

Welcome to the Herolab 4e user added support site.

Main Menu
+-+-

+-User

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

+-Stats ezBlock

Members
Total Members: 266
Latest: servisnyy_etSi
New This Month: 4
New This Week: 4
New Today: 0
Stats
Total Posts: 760
Total Topics: 370
Most Online Today: 22
Most Online Ever: 486
(October 05, 2025, 05:27:10 PM)
Users Online
Members: 0
Guests: 10
Total: 10

Dual Implement Spellcaster

Started by MagicSN, January 26, 2013, 12:41:24 PM

Previous topic - Next topic

MagicSN

Hello!

It seems this feat does not work. In the script there is this part:

        if (eachpick.tagis[Helper.EqpMain] <> 0) then
          mainhand = 1
        elseif (eachpick.tagis[Helper.EqpOff] <> 0) then

It seems even with an Offhand equipped the Offhand part of the code is never entered.

If I had the script like this


      var mainhand as number
      var offhand as number
      var offbonus as number
      foreach pick in hero from Gear
        if (eachpick.tagis[Helper.EqpMain] <> 0) then
          mainhand = 1
        elseif (eachpick.tagis[Helper.EqpOff] <> 0) then
          offhand = 1
            offbonus = 3
          endif
        nexteach
      if (mainhand + offhand > 0) then
        foreach pick in hero from Power where "PowerSrc.Arcane"
          perform eachpick.field[pwDamBonus].modify[+,offbonus,""]
          nexteach
        endif

nothing happened.

But if I inserted before the "if (mainhand + offhand..." part a

offbonus = 2

2 was added to the damage. So it seems the part about the offhand is never entered. (I used the numbers just for easier debugging...).

Any ideas?

Thanks in advance.

MagicSN

MagicSN

I found out parts of the problem. I usually did the two wands my wizard wears both equip as "MainHand", as I saw it as the two possible options for MainHand. But the Dual Implement Feat only works when setting one to "Offhand".

Even then it still got one problem though: It ALWAYS adds the damage bonus of the OFFHAND, even if the spell was casted WITH the offhand (for example my wizard has a Magic Wand +2 as mainhand and a Master's Wand of the Scorching Burst as Offhand - now if she casts Scorching burst she uses the offhand, if any other spell she uses the mainhand - with the existing implementation the Dual feat gives "+1" when casting from the mainhand, but ALSO +1 when casting from the offhand (though +2 would be correct in this case, as in this case the mainhand would be the offhand for THIS cast).

I do not know how to fix it unfortunately, that it always takes the bonus of "the other wand". My problem basically is

In

      foreach pick in hero from Power where "PowerSrc.Arcane"

how do I find out what enhancement bonus the implement used has? Is this even possible? I tried looping through the gear and saving the NAME of the item, and basing if it is mainhand or offhand based on this. But then how do I compare for a string?

        if (eachpick.tagis[Helper.EqpMain] <> 0) then

unfortunately only seems to work in the "from Gear" foreach, not in the "from Power" one.

MagicSN

MagicSN

When looking at a friends warlock character sheet in the WotC-online-tool I noticed it counts Offhand Properties even when casting with the Mainhand (which is the opposite of what I assumed up to now). This makes a bugfix of this feat less important, as you would always cast with the Mainhand stats then ;-)

MagicSN

Seems the implementation of the feat is actually right. The main hand seems to be always "fixed", and it always adds the damage of the "offhand", no matter if Main Hand or Offhand is used for casting. Seems this was just a case of a badly worded feat.

+-Recent Topics

Селектор онлайн — пространство, где страсть становится вдохновением by CharlesImmEk
March 06, 2025, 08:58:34 AM

Купить Экстази и МДМА в Украине? САЙТ - KOKAINES.STORE Купить Экстази и МДМА Кие by DavidgfeTashy
February 04, 2025, 06:27:35 PM

What Are the Top 3 Skills for Remote Work in 2024? by JamesQuorp
January 27, 2025, 01:00:47 PM

Корисні відомості для українських громадян, які збираються створити свою справу by AliceResia
January 05, 2025, 12:21:29 PM

4e wont open due to duplicate files error by Fox Lee
April 14, 2024, 01:01:14 AM

Community Data files update 2023-02-16 by Tdotku1911
September 28, 2023, 08:52:54 PM

Errors from last update by jrmcnz
July 17, 2023, 03:30:56 PM

Community Data files update 2023-04-28 by Fox Lee
April 27, 2023, 09:40:45 PM

3rd Party - Zeitgeist character options by Fox Lee
March 25, 2023, 03:21:38 AM

Community Data files update 2023-03-25 by Fox Lee
March 25, 2023, 02:46:40 AM

Our Unofficial Update for Hero Lab 4e by jklagenberg
February 11, 2022, 09:00:52 AM

Kensei Focus - Paragon Path Feature by Charlie
October 21, 2020, 10:13:36 PM

Warlord Scraper Error Fixes by Fox Lee
April 03, 2020, 08:05:51 PM

Herolab 4e Themes Modification by Cryptoknight
July 27, 2019, 02:47:44 AM

Themes Collection by Cryptoknight
July 27, 2019, 02:47:44 AM

Feats Bug Fixes Package by Cryptoknight
July 27, 2019, 02:47:44 AM

Darksun Themes Package by Cryptoknight
July 27, 2019, 02:47:44 AM

Defensive Feats by Cryptoknight
July 27, 2019, 02:47:44 AM

Theme Framework for HeroLab 5 / 4e 4.0 - .HL version by Daphne
July 27, 2019, 02:47:44 AM

2014 09 20 Release by Cryptoknight
July 27, 2019, 02:47:44 AM

2014-09-29 Download by Cryptoknight
July 27, 2019, 02:47:43 AM

2014 11 13 Download by Cryptoknight
July 27, 2019, 02:47:43 AM

Hybrid Battlemind not working as it should by Sean Abel
July 27, 2019, 02:45:49 AM

Please read this and weigh in - Issue/Source/Document Version Control System by nixxrite
March 29, 2019, 07:14:36 AM

Items, Feats and Magic Armour calculations not working by Charlie
March 28, 2019, 01:13:14 PM

Powered by EzPortal