Tweaked several areas, mobs, and added

the codi ai to some mobs.
This commit is contained in:
EpicValor
2023-09-28 23:01:25 -05:00
parent 9c38ad9c6b
commit f6270c3cb8
310 changed files with 31410 additions and 4885 deletions

15
_module/nss/scalesize.nss Normal file
View File

@@ -0,0 +1,15 @@
///scalesize.nss
///Set variable on creature SCALE_SIZE float -> 0.0 to size desired
void main()
{
if (GetLocalInt(OBJECT_SELF,"NO_SCALE")!=1)
{
float fScaleSize=GetLocalFloat(OBJECT_SELF,"SCALE_SIZE");
if (fScaleSize==0.0)
{
fScaleSize=1.0+(IntToFloat(Random(11))/100.0)*IntToFloat(Random(3)-1);
}
SetObjectVisualTransform(OBJECT_SELF,OBJECT_VISUAL_TRANSFORM_SCALE,fScaleSize);
}
}