generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
15
_module/nss/appearance_drag.nss
Normal file
15
_module/nss/appearance_drag.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user