39 lines
700 B
Plaintext
39 lines
700 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
int nWingType = GetCreatureWingType(oPC) + 1;
|
|
|
|
if (nWingType <=108)
|
|
{
|
|
nWingType = 109;
|
|
}
|
|
else if (nWingType == 120)
|
|
{
|
|
nWingType = 125;
|
|
}
|
|
else if (nWingType == 152)
|
|
{
|
|
nWingType = 154;
|
|
}
|
|
else if (nWingType == 157)
|
|
{
|
|
nWingType = 158;
|
|
}
|
|
else if (nWingType == 205)
|
|
{
|
|
nWingType = 206;
|
|
}
|
|
else if (nWingType == 256)
|
|
{
|
|
nWingType = 257;
|
|
}
|
|
else if (nWingType >= 322)
|
|
{
|
|
nWingType = 109; //Start over..
|
|
}
|
|
|
|
|
|
SendMessageToPC(oPC, "Your Current # = " + IntToString(nWingType));
|
|
SetCreatureWingType(nWingType, oPC);
|
|
}
|