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 136
    • Issues 136
    • 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
  • setowner

setowner · Changes

Page history
made amy happier authored Jul 12, 2024 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 10 additions and 6 deletions
+10 -6
  • skills/mechanics/setowner.md skills/mechanics/setowner.md +10 -6
  • No files found.
skills/mechanics/setowner.md
View page @ f11f0199
......@@ -22,20 +22,24 @@ PetSheep:
Damage: 18
Skills:
- skill{s=SetOwner} @trigger ~onInteract
- skill{s=HealOwner} @PIR{R=10} ~onTimer:50
- skill{s=HealOwner} @Owner ~onTimer:50
```
This skill would change the mob's owner to whoever right clicked it.
```yaml
SetOwner:
Skills:
- setowner @trigger
- setowner
- message{m=You are now the owner of this mob!}
```
This skill would only heal the owner of the mob.
> This skill would change the mob's owner to whoever right clicked it.
##
```yaml
HealOwner:
Cooldown: 10
TargetConditions:
- owner true
- health{h<20} true
Skills:
- heal{a=10}
- message{m=<3}
```
> This skill would only heal the owner of the mob once every 10 seconds and only if they have less than 20 points of health left
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
Mythic Add-ons
Compatible Plugins
API Information
Guides
  • Troubleshooting
  • FAQ / Common Issues
  • Examples
Packs
  • Pins
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drops
  • DropTables
  • FancyDrops
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • Particles Types
  • Audience
  • Equipment Slots
  • Intratick Scheduling