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 144
    • Issues 144
    • 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
  • Triggers

Triggers · Changes

Page history
Update Triggers authored Sep 01, 2021 by Woodyso's avatar Woodyso
Hide whitespace changes
Inline Side-by-side
Showing with 12 additions and 12 deletions
+12 -12
  • Skills/Triggers.md Skills/Triggers.md +12 -12
  • No files found.
Skills/Triggers.md
View page @ cfdb96dd
...@@ -196,14 +196,12 @@ Detailed Descriptions & Examples ...@@ -196,14 +196,12 @@ Detailed Descriptions & Examples
- Trigger the skill to execute based on a timer. - Trigger the skill to execute based on a timer.
- The timer is in ticks so 20 ticks equates to 1 second. - The timer is in ticks so 20 ticks equates to 1 second.
- Avoid using with health or chance parameters as it does not work
well with these at the moment.
- Care must be taken when using the Timer trigger as skills that are - Care must be taken when using the Timer trigger as skills that are
not properly designed can potentially lead to server or client side not properly designed can potentially lead to server or client side
performance issues. Skills with particularly low timers that call performance issues. Skills with particularly low timers that call
complex syntax can cause server side performance issues, while large complex syntax can cause server side performance issues, while large
count particle effects and other graphic intensive things can lead count particle effects and other graphic intensive things can lead
to potential client side performance issues. to potential client side performance issues.
- **- skill{s=SingleTargetFire} ~onTimer:200** (The mob will use the - **- skill{s=SingleTargetFire} ~onTimer:200** (The mob will use the
SingleTargetFire skill every 10 seconds) SingleTargetFire skill every 10 seconds)
...@@ -211,13 +209,14 @@ Detailed Descriptions & Examples ...@@ -211,13 +209,14 @@ Detailed Descriptions & Examples
- Trigger the skill to execute when the mob kills a player character. - Trigger the skill to execute when the mob kills a player character.
- Can be used along with the health and chance parameters to further - Can be used along with the health and chance parameters to further
define when this occurs. define when this occurs.
- **- skill{s=BossRegen} ~onPlayerKill >0 1** (The mob has a 100% - **- skill{s=BossRegen} ~onPlayerKill >0 1** (The mob has a 100%
chance to use the BossRegen spell when it kills a player) chance to use the BossRegen spell when it kills a player)
**~onEnterCombat** **~onEnterCombat**
- Trigger the skill to execute when the mob enters combat. - Trigger the skill to execute when the mob enters combat.
- This trigger will only work when ThreatTables are enabled.
- **- skill{s=BuffSelf} ~onEnterCombat >0 1** (The mob has a 100% - **- skill{s=BuffSelf} ~onEnterCombat >0 1** (The mob has a 100%
chance to use the BuffSelf skill when it enters combat with a player chance to use the BuffSelf skill when it enters combat with a player
or mob) or mob)
...@@ -225,6 +224,7 @@ Detailed Descriptions & Examples ...@@ -225,6 +224,7 @@ Detailed Descriptions & Examples
**~onDropCombat** **~onDropCombat**
- Trigger the skill to execute when the mob drops combat. - Trigger the skill to execute when the mob drops combat.
- This trigger will only work when ThreatTables are enabled.
- **- skill{s=BossRegen} ~onDropCombat >0 1** (The mob has a 100% - **- skill{s=BossRegen} ~onDropCombat >0 1** (The mob has a 100%
chance to use the BossRegen skill when it drops combat with a player chance to use the BossRegen skill when it drops combat with a player
or mob) or mob)
...@@ -232,6 +232,7 @@ Detailed Descriptions & Examples ...@@ -232,6 +232,7 @@ Detailed Descriptions & Examples
**~onChangeTarget** **~onChangeTarget**
- Trigger the skill to execute when the mob changes target. - Trigger the skill to execute when the mob changes target.
- This trigger will only work when ThreatTables are enabled.
- **- skill{s=Charge} ~onChangeTarget >0 1** (The mob has a 100% - **- skill{s=Charge} ~onChangeTarget >0 1** (The mob has a 100%
chance to use the Charge skill when it changes targets) chance to use the Charge skill when it changes targets)
...@@ -245,11 +246,10 @@ Detailed Descriptions & Examples ...@@ -245,11 +246,10 @@ Detailed Descriptions & Examples
**~onSignal** or **~onSignal:[signal]** **~onSignal** or **~onSignal:[signal]**
- Trigger for skill to execute when the mob receives a signal or when - Trigger the skill to execute when the mob receives a specific signal from the Signal mechanic.
with :[signal] only a specific signal
- Useful for skills that require communication between mobs or from a - Useful for skills that require communication between mobs or from a
player to a mob [2], which was previously (pre 2.3) only possible by player to a mob [2].
workarounds - Note: Currently when a mob recieves a signal, it will only trigger one skill with the respective signal. To elaborate, if the mob has two skills like so: `- skill{s=SKILL1} ~onSignal:DO_THING` `- skill{s=SKILL2} ~onSignal:DO_THING`, then only the first skill will trigger.
- See - See
[signal-skill](http://www.mythicmobs.net/manual/doku.php/skills/mechanics/signal) [signal-skill](http://www.mythicmobs.net/manual/doku.php/skills/mechanics/signal)
page. page.
......
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

Tutorials

  • DamageSpells