MCPets
  • MCPets
    • ๐Ÿ‘‹ Welcome
    • ๐Ÿฆฆ Get pets (+ Free otter)
    • ๐Ÿงช Upcoming features
  • Common issues
    • ๐Ÿ”ด Common issues
      • Requirements
      • My pet is removed on spawn
      • My pet is revoked on spawn
      • My pet looks like floating horse armors or doesn't look right
      • My pet leaves anchor mobs behind on server restart or chunk unloading
      • My pet has purple/black weird textures
      • My pet doesn't have its model applied
      • My pet can't be named
      • My pet can't be mounted
      • Pet experience : my pet is not getting any experience
      • ItemsAdder: I can't see the pet
      • Category : I can't see my pets
      • Texture Pack: merging custom items packs (1.21.3 and prior)
      • Atlases issues: purple/black icons
      • 1.21.4 Resource pack changes
      • Worldguard: making pet spawn in mob denied areas
  • Tutorials
    • โœจ Setup your first pet
    • ๐Ÿ”ฅ Pet features
      • Living Pet
        • Pet Experience
        • Modifiers
        • Taming
        • Pet Food
      • Pet Mount
      • Signal Stick
      • Pet Inventory
      • Skins
    • ๐Ÿ“œ Placeholder API support
    • ๐Ÿฒ MythicMobs add-ons
    • ๐Ÿ“ Config templates
      • Config file
      • Pet config
    • โš™๏ธ Plugin features
      • Commands
      • Permissions
      • Categories
      • Blacklisted Words
      • Custom Icons
      • WorldGuard flags
Powered by GitBook
On this page

Was this helpful?

  1. Tutorials
  2. ๐Ÿ”ฅ Pet features
  3. Living Pet

Modifiers

PreviousPet ExperienceNextTaming

Last updated 1 year ago

Was this helpful?

When a pet is defined a living pet, each level can define modifiers:

  • Damage Modifier

  • Resistance Modifier

  • Power Modifier

You can make use of these modifiers in skills to affect how your pet does damages according to these, using .

Note that the Resistance Modifier is implemented by default in MCPets, meaning you don't need to make a specific use of it in MythicMobs for it to reduce the damages your pet takes.

Here is are some example usage:

Pet_Attack:
  Skills:
  - damage{a=10*<pet.damagemodifier>} @target
  
Pet_MagicAttack:
  Skills:
  - damage{a=30*<pet.power>} @target

As you can see, you can use modifiers as placeholders for advanced maths thanks to MythicMobs. For more complex calculations or usage, have a look at .

MythicMobs wiki
MCPets MythicMobs placeholders