Пример #1
0
 public static Monster.SubMonster RandomFromPrefab(Monster.SubMonster mon)
 {
     Monster.SubMonster temp = new Monster.SubMonster(mon);
     temp = RandomMoves(temp);
     temp.SpeedInit();
     temp.MaxHealthInit(false);
     GiveFingerPrint(temp);
     return(temp);
 }
Пример #2
0
    public static Monster.SubMonster MakeFromPrefab(Monster mon)
    {
        //print("gets here");
        Monster.SubMonster temp = new Monster.SubMonster(mon.themonster);

        temp.MaxHealthInit(true);
        temp.SpeedInit();
        temp = RandomMoves(temp);
        GiveFingerPrint(temp);
        return(temp);
    }