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 137
    • Issues 137
    • 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
  • cancelevent

cancelevent · Changes

Page history
Create skills/mechanics/cancelevent authored Aug 11, 2020 by Ashen's avatar Ashen
Hide whitespace changes
Inline Side-by-side
Showing with 37 additions and 0 deletions
+37 -0
  • skills/mechanics/cancelevent.md skills/mechanics/cancelevent.md +37 -0
  • No files found.
skills/mechanics/cancelevent.md 0 → 100644
View page @ b7ab2cab
Mechanic: CancelEvent
=====================
Cancel the Event that triggered the skill. This mechanic has several
important requirements in order to execute properly:
- The mechanic (or the first skill that leads to it) must be run with
sync=true in the mob's skill list. Example: -
skill{s=CancelEventSkill;sync=true} ~onDamaged
- No delays allowed.
- It only works with specific triggers that make sense.
Possible Triggers
-----------------
- ~onAttack
- ~onDamaged
- ~onExplode
- ~onInteract
- ~onCombat
- ~onTeleport
Example
-------
Skill.yml:
CancelDamageEvent:
Skills:
- CancelEvent
Mob.yml:
NoDamageMob:
Type: villager
Skills:
- skill{s=CancelDamageEvent;sync=true} ~onDamaged
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
  • Common Item ID's
  • Enchantments
  • Potions
  • Banner Layers

Spawning

  • Spawners
  • Random Spawns