Main Menu

News:

SMF - Just Installed!

Creature Types

Started by Volcano, Oct 03, 2024, 08:24 PM

Previous topic - Next topic

Volcano

switch (aTypes
  • ) {
        case 0:
          this.sentinel = true;
          break;
        case 1:
          this.trader = true;
          break;
        case 2:
          this.moveRandom = true;
          break;
        case 3:
          this.animal = true;
          break;
        case 17:
          this.human = true;
          break;
        case 16:
          this.monster = true;
          break;
        case 4:
          this.invulnerable = true;
          break;
        case 5:
          this.npcTrader = true;
          this.trader = true;
          break;
        case 6:
          this.aggHuman = true;
          break;
        case 7:
          this.moveLocal = true;
          break;
        case 8:
          this.moveGlobal = true;
          break;
        case 9:
          this.grazer = true;
          break;
        case 10:
          this.herd = true;
          break;
        case 11:
          this.villageGuard = true;
          break;
        case 12:
          this.swimming = true;
          break;
        case 13:
          this.hunter = true;
          break;
        case 14:
          this.leadable = true;
          break;
        case 15:
          this.milkable = true;
          break;
        case 18:
          this.regenerating = true;
          break;
        case 19:
          this.dragon = true;
          break;
        case 20:
          this.unique = true;
          break;
        case 21:
          this.kingdomGuard = true;
          break;
        case 23:
          this.spiritGuard = true;
          this.isFloating = true;
          break;
        case 22:
          this.ghost = true;
          break;
        case 26:
          this.bartender = true;
          break;
        case 24:
          this.defendKingdom = true;
          break;
        case 25:
          this.aggWhitie = true;
          break;
        case 28:
          this.herbivore = true;
          this.fleeing = true;
          break;
        case 29:
          this.carnivore = true;
          break;
        case 27:
          this.omnivore = true;
          break;
        case 30:
          this.climber = true;
          break;
        case 32:
          this.dominatable = true;
          break;
        case 33:
          this.undead = true;
          break;
        case 34:
          this.caveDweller = true;
          break;
        case 35:
          this.fleeing = true;
          break;
        case 36:
          this.isDetectInvis = true;
          break;
        case 37:
          this.isSubmerged = true;
          break;
        case 38:
          this.isFloating = true;
          break;
        case 39:
          this.nonNewbie = true;
          break;
        case 40:
          this.isBreakFence = true;
          break;
        case 41:
          this.isVehicle = true;
          break;
        case 42:
          this.isHorse = true;
          break;
        case 43:
          this.domestic = true;
          break;
        case 54:
          this.isBlackOrWhite = true;
          break;
        case 64:
          this.isColoured = true;
          break;
        case 44:
          this.moveRate = 100;
          this.careful = true;
          break;
        case 45:
          this.canOpenDoors = true;
          break;
        case 46:
          setTowerBasher(true);
          break;
        case 47:
          setOnlyAttacksPlayers(true);
          break;
        case 48:
          this.attacksVehicles = false;
          break;
        case 49:
          this.isPrey = true;
          break;
        case 50:
          this.isFromValrei = true;
          break;
        case 51:
          this.isBeachDweller = true;
          break;
        case 52:
          this.woolProducer = true;
          break;
        case 53:
          setWarGuard(true);
          break;
        case 55:
          this.burning = true;
          break;
        case 56:
          setRiftCreature(true);
          break;
        case 57:
          setStealth(true);
          break;
        case 58:
          setCaster(true);
          break;
        case 59:
          setSummoner(true);
          break;
        case 60:
          this.isEpicSlayable = true;
          break;
        case 61:
          this.isEpicTraitor = true;
          break;
        case 62:
          this.isNotRebirthable = true;
          break;
        case 63:
          this.isBabyCreature = true;
          break;
        case 65:
          this.isMissionDisabled = true;
          break;
        default:
          logger.warning("Ignoring unexpected CreatureTemplate type: " + aTypes
  • );
          break;