AOC_PRC8/_module/nss/appearance_drag.nss
Jaysyn904 5e558169a0 Initial Commit
Initial Commit
2025-04-03 11:24:16 -04:00

16 lines
437 B
Plaintext

void main()
{
int oDice;
int oCreature;
oDice = d6();
if (oDice==1)oCreature = APPEARANCE_TYPE_DRAGON_BLUE;
if (oDice==2)oCreature = APPEARANCE_TYPE_DRAGON_BRASS;
if (oDice==3)oCreature = APPEARANCE_TYPE_DRAGON_BLACK;
if (oDice==4)oCreature = APPEARANCE_TYPE_DRAGON_BRONZE;
if (oDice==5)oCreature = APPEARANCE_TYPE_DRAGON_BLACK;
if (oDice==6)oCreature = APPEARANCE_TYPE_DRAGON_RED;
SetCreatureAppearanceType(OBJECT_SELF, oCreature);
}