• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Doubling Powerful Build

frumple

Well-known member
I am working on the War Machine template from the Advanced Bestiary. It has the following quality:

The war machine can wield weapons up to two size categories larger than the base creature could without taking penalties.

I tried assigning Hero.PowerfulBuild twice to the hero, but the tag doesn't stack. Any ideas on how to make this work?
 
Never mind... figured out that Powerful Build is actually not what I needed. Powerful Build adds bonues to grapple and the like. What I needed was something that just affects weapons.

I coded it as follows:
Code:
Phase: Post-attributes   Priority: 10000


~ for weapons of size catagories one to two times larger we have to get a bit creative
~ check for weapons whose size difference is 2 or larger and shift the penalty

~ first pick all the non-Natural weapons
      foreach pick in hero from BaseWep where "!component.BaseNatWep"
~ if size difference from base creature is 1 greater shift by 2
       if (eachpick.field[gSizeDiff].value = 1) then
         eachpick.field[wAttack].value += 2
         eachpick.field[wRanAtk].value += 2
~ if size difference from base creatre is 2 or more than shift by 4
       elseif (eachpick.field[gSizeDiff].value >= 2) then
         eachpick.field[wAttack].value += 4
         eachpick.field[wRanAtk].value += 4
       endif
~ now re-classify weapons ignoring weapons that are smaller than base creature
      if (eachpick.field[gSizeDiff].value >= 0) then
       if (eachpick.field[gSizeDiff].value <= 2) then
         eachpick.field[wClass].value -= eachpick.field[gSizeDiff].value
       else
         eachpick.field[wClass].value -= 1
       endif
      endif
        nexteach
 
Back
Top