explanations/Mob Attributes

WARNING!

As of v2.1 Mob Attributes is now Mob Abilities Not all of this information may be true!

MobAttributes was introduced into MobManager in version 2.0

Below is an example of the usage of MobAttributes.

In this case all attempts to spawn a zombie will be successful (Assuming they fit within MobManagers normal limits) Whereas half of the attempts to spawn cows will be totally ignored.

Zombies will always spawn with an extra 10 HP as there is only one option for bonus HP, whereas Cows have a 50% chance of having a bonus 10 HP and a 50% chance of having a bonus 15 HP (Due to the chances both being 1 NOTE: Chances could have been 2 with the same result)

BonusDamage works the same as BonusHealth. In this example Zombies would always do an aditional 5 damage, whereas Cows would never do any extra damage (I know cows don't attack anyway :P)

MobAttributes:
  ZOMBIE:
    SpawnRate: 1.0
    BonusHealth:
    - 1:10
    BonusDamage:
    - 1:5
  COW:
    SpawnRate: 0.5
    BonusHealth:
    - 1:10
    - 1:15
    BonusDamage: []

Tips:

- When used in the global config you can remove the changes to one world by adding an empty config to that world

MobAttributes:
  ZOMBIE: {}

- Players can also be given bonus health or damage (SpawnRates will do nothing for players)


Comments

Posts Quoted:
Reply
Clear All Quotes