BloodAngel099
Well-known member
We run with a house rule that you use full strength on off-hand/secondary attacks and double strength on two-handed. I got help from here before for adding full strength to off-hand and double on two-handed, can someone tell me what I need to get full strength on secondary attacks? Thanks!
Pre-levels 5000
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
perform hero.assign[Hero.DblSlice]
Post-attributes 10000
var bonus as number
~ Calculate the extra .5 of the strength modifier. This added to the
~ normal 1.5 bonus will give us 2x Str bonus.
bonus += round(#attrmod[aSTR]/2,0,1)
~ This will only affect two-handed melee weapons
foreach pick in hero from BaseWep where "wClass.TwoHanded & wCategory.Melee"
~ Give a unnamed bonus to Damage Melee
eachpick.field[dmmBonus].value += bonus
nexteach
Post-attributes 10000
var bonus as number
~ Calculate the extra .5 of the strength modifier. This added to the
~ normal 1.5 bonus will give us 2x Str bonus.
bonus += round(#attrmod[aSTR]/2,0,1)
~ One handed weapons wielded in two-hands don't get the above
~ damage bonus. So we have to loop through all the active weapons
~ and give the bonus individually.
~ Loop through only the melee weapons
foreach pick in hero from BaseWep where "wCategory.Melee"
~we are a one handed weapon equipped in two hands
If (eachpick.tagis[wClass.OneHanded] + eachpick.field[gIsEquip].value + eachpick.field[wIs2nd].value = 3) Then
~ Give a bonus
eachpick.field[wDamBonus].value += bonus
Endif
nexteach
Pre-levels 5000
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
perform hero.assign[Hero.DblSlice]
Post-attributes 10000
var bonus as number
~ Calculate the extra .5 of the strength modifier. This added to the
~ normal 1.5 bonus will give us 2x Str bonus.
bonus += round(#attrmod[aSTR]/2,0,1)
~ This will only affect two-handed melee weapons
foreach pick in hero from BaseWep where "wClass.TwoHanded & wCategory.Melee"
~ Give a unnamed bonus to Damage Melee
eachpick.field[dmmBonus].value += bonus
nexteach
Post-attributes 10000
var bonus as number
~ Calculate the extra .5 of the strength modifier. This added to the
~ normal 1.5 bonus will give us 2x Str bonus.
bonus += round(#attrmod[aSTR]/2,0,1)
~ One handed weapons wielded in two-hands don't get the above
~ damage bonus. So we have to loop through all the active weapons
~ and give the bonus individually.
~ Loop through only the melee weapons
foreach pick in hero from BaseWep where "wCategory.Melee"
~we are a one handed weapon equipped in two hands
If (eachpick.tagis[wClass.OneHanded] + eachpick.field[gIsEquip].value + eachpick.field[wIs2nd].value = 3) Then
~ Give a bonus
eachpick.field[wDamBonus].value += bonus
Endif
nexteach