Junior Member
Join Date: Aug 2010
Location: Brisbane
Posts: 19
|
Can anyone help me or point me to the thread that explains this?
I am trying to make a monster class specifically a psuedodragon, playable from level 1. I can do most of it but can not figure out how to adjust the following: fly speed - starting at 20' and average, and gaining +10' per level, achieving 60' and good at level 5 Telepathy - starting at 20' and gaining +10' per level, achieving 60' at level 5 thanks in advance. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
First, for the fly speed, make sure to bootstrap the xFly thing to your monster class.
Now you will need an Eval script to set the fly speed and assign the maneauverability tag. Phase Post-Level, probably early, like 5000 var speed as number speed = (1 + #levelcount[XXX]) * 10 speed = minimum(speed, 60) hero.childfound[xFly].field[Vaue].value = maximum(hero.childfound[xFly].field[Vaue].value, speed) if (#levelcount[XXX] >= 6) then perform hero.childfound[xFly].assign[Maneuver.Good] else perform hero.childfound[xFly].assign[Maneuver.Average] endif Where XXX is the monster class' identifier For Telepathy, do you already have my files? I made a special with a CalcValue called Telepath2. Assuming you use that special, you could bootstrap it and copy part of the above: var range as number range = (1 + #levelcount[XXX]) * 10 range = minimum(speed, 60) hero.childfound[xTelepath2].field[Vaue].value = maximum(hero.childfound[xTelepath2].field[Vaue].value, range) Alternately you could make your own CalcValue special. |
#2 |
Junior Member
Join Date: Aug 2010
Location: Brisbane
Posts: 19
|
Lawful_g, thanks for the information.
I do not have your files, can you direct me to the right location to get them, or alternatively can you PM me the Telepath2 one. thanks. |
#3 |
Thread Tools | |
Display Modes | |
|
|