Need help coding to supress xClimb, xSwim & Snaky Body
Greets everyone!
So I after a whirlwind few months since GenCon (huge work projects all stacked up + my daughter being born), everything settled to the point that I can get back to coding the RotRL NPCs. I see another member has put out the first two book (which is awesome!), but my versions are a lot more detailed so I'm going to continue along with them and still release those...
Working on the beast of Xanesha, and am trying to code in the changes for the Lamia Matriarch's Alternate Form racial special. Here's where I am in the description so far:
My hacked up code for this so far:
I have a feeling the timing is not prime, but it all seems to work thus far. Any help, cleaning or insight is greatly appreciated.
Greets everyone!
So I after a whirlwind few months since GenCon (huge work projects all stacked up + my daughter being born), everything settled to the point that I can get back to coding the RotRL NPCs. I see another member has put out the first two book (which is awesome!), but my versions are a lot more detailed so I'm going to continue along with them and still release those...
Working on the beast of Xanesha, and am trying to code in the changes for the Lamia Matriarch's Alternate Form racial special. Here's where I am in the description so far:
When activated, this should change size to medium (DONE), subtract 8 STR and 4 CON, add 2 DEX (DONE), supress Wisdom Drain (Not needed until that ability can modify weapons with the -1 Wis drain... can this happen now?), Supress Climb & Swim speed bootstraps (need help with this), supress serpant shape/non-humanoid for no tripping (need help with this), and change base speed to 30ft (DONE).
My hacked up code for this so far:
Code:
First/20000
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
~ When activated
if (field[abilActive].value <> 0) then
~ Abilty scores modified (-8 STR, -4 CON, +2 DEX)
hero.child[aSTR].field[Penalty].value -= 8
hero.child[aCON].field[Penalty].value -= 4
hero.child[aDEX].field[Bonus].value += 2
~ Change base speed to 30ft when active
hero.child[Speed].field[tSpeed].value = 30
~ Remove Climb & Swim
~???????
~ Change Many/No Legs option from Snaky Body --> None
~???????
~ Add to size - must come after race and template size set
herofield[tSize].value -= 1
~ Change the size of all our equipment (apart from unarmed
~ strike, which changes automatically)
foreach pick in hero from MyGear where "!wCategory.Unarmed"
eachpick.field[gSizeMod].value -= 1
nexteach
var i as number
~change the size of our natural weapons
foreach pick in hero from BaseNatWep where "!Helper.NatSizeDmg"
perform eachpick.assign[Helper.DamageDown]
nexteach
endIf
I have a feeling the timing is not prime, but it all seems to work thus far. Any help, cleaning or insight is greatly appreciated.
Last edited: