Senior Member
Join Date: Jul 2006
Posts: 380
|
Im converting some more 3.5 giants and I found a cool one Maur the Hunched Giant in the Underdark Book (wanted it cause Im running Second Darkness)
So he has this abilty that allows him to grow to huge increase he Str and Con by 6 + 4 Morale Bonus to his AC and Saves I want this is be somthing i can turn on and off like Power attack I would like it off and then turn it on like Rage because it only lasts 10 rounds Can someone help me (shadow you ussually help me on these) |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Sure. That sounds like a fun Giant actually.
Here is the script I got so far. Phase is First, Priority 20,000 Code:
~First 20,000 ~ If we're not shown, just get out now doneif (tagis[Helper.ShowSpec] = 0) ~ If we are not activated get out now doneif (field[abilActive].value = 0) ~ Add to size - must come after race and template size set herofield[tSize].value += 1 ~ Increase the size of all our equipment by 1 apart from ~ unarmed strike, which changes automatically foreach pick in hero from MyGear where "!wCategory.Unarmed" eachpick.field[gSizeMod].value += 1 nexteach ~ Increase the size of all natural attacks by one size foreach pick in hero where "wGroup.Natural" Perform eachpick.assign[Helper.DamageUp] nexteach ~ Bonus to Str and Con hero.child[aSTR].field[Bonus].value += 6 hero.child[aCON].field[Bonus].value += 6 ~ Give Morale Bonus to AC and all saves #applybonus[BonMorale,hero.child[ArmorClass],4] #applybonus[BonMorale,hero.child[svFort],4] #applybonus[BonMorale,hero.child[svRef],4] #applybonus[BonMorale,hero.child[svWill],4] Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Senior Member
Join Date: Jul 2006
Posts: 380
|
Hey Shadow Thanks Ill try it out but i explained it wrong he its weird he is from the underdark book he is huge but cramped down from the tunnels but for 10 rounds a day he gets bigger his weapons dont though cause he has oversized weapon use already
|
#3 |
Senior Member
Join Date: Jul 2006
Posts: 380
|
Works great if you cant make it not grow the weapon its cool I can do the math
|
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Their is two specific sections of code that reads through the gear and natural attack to increase their size. So just have to remove that to make the items not grow also.
Here is the script with that removed: Code:
~First 20,000 ~ If we're not shown, just get out now doneif (tagis[Helper.ShowSpec] = 0) ~ If we are not activated get out now doneif (field[abilActive].value = 0) ~ Add to size - must come after race and template size set herofield[tSize].value += 1 ~ Bonus to Str and Con hero.child[aSTR].field[Bonus].value += 6 hero.child[aCON].field[Bonus].value += 6 ~ Give Morale Bonus to AC and all saves #applybonus[BonMorale,hero.child[ArmorClass],4] #applybonus[BonMorale,hero.child[svFort],4] #applybonus[BonMorale,hero.child[svRef],4] #applybonus[BonMorale,hero.child[svWill],4] Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#5 |
Senior Member
Join Date: Jul 2006
Posts: 380
|
Thanks again
|
#6 |
Thread Tools | |
Display Modes | |
|
|