Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 154
    • Issues 154
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
    • Mechanics
  • setname

setname · Changes

Page history
Update setname authored May 30, 2021 by Akim91's avatar Akim91
Hide whitespace changes
Inline Side-by-side
Showing with 11 additions and 1 deletion
+11 -1
  • skills/mechanics/setname.md skills/mechanics/setname.md +11 -1
  • No files found.
skills/mechanics/setname.md
View page @ eb1d4003
...@@ -11,4 +11,14 @@ Examples ...@@ -11,4 +11,14 @@ Examples
Sets the name of the mob to "newmobname" when the mob is damaged. Sets the name of the mob to "newmobname" when the mob is damaged.
As of Build 3070, this mechanic supports placeholders. ```
MySkeleton:
Type: Skeleton
Display: 'Skeleton <caster.hp>/<caster.mhp><&heart>'
Skills:
- setname{name=<caster.name>;delay=2} @self ~onDamaged
- setname{name=<caster.name>;delay=2} @self ~onTimer:10 ?incombat{}
```
This will set the name of the mob to the name it has in its Display: option when it is damaged and every 10 ticks when it is in combat. This is an example of how to make your mob update any placeholders in its name. In this example we are doing it to update the <caster.hp> placeholder.
As of Build 3070, this mechanic supports placeholders.
\ No newline at end of file
Clone repository
  • Home
  • Changelogs
  • Premium Features
  • Commands and Permissions
  • FAQ / Common Issues
  • Mythic Add-ons
  • Compatible Plugins
  • API Information

Mobs

  • Overview
  • Types
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Extra: Disguises
  • Extra: MiniaturePets

Skills

  • Overview
  • Mechanics
  • Effects
  • Targeters
  • Triggers
  • Conditions
  • Placeholders
  • Variables

Items & Drops

  • Drops and Drop Tables
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers

Spawning

  • Spawners
  • Random Spawns