aboutsummaryrefslogtreecommitdiffstats
path: root/docs/task-types
diff options
context:
space:
mode:
Diffstat (limited to 'docs/task-types')
-rw-r--r--docs/task-types/mythicmobs_dealdamage-(task-type).md43
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/task-types/mythicmobs_dealdamage-(task-type).md b/docs/task-types/mythicmobs_dealdamage-(task-type).md
new file mode 100644
index 00000000..d2594308
--- /dev/null
+++ b/docs/task-types/mythicmobs_dealdamage-(task-type).md
@@ -0,0 +1,43 @@
+---
+title: mythicmobs_dealdamage
+parent: External task types
+grand_parent: Task types
+---
+
+# mythicmobs_dealdamage (task type)
+
+Not released yet (dev builds)
+{: .label .label-green }
+
+Plugin 'MythicMobs' required
+{: .label }
+
+Deal a certain amount of damage to a MythicMobs mob.
+
+## Options
+
+| Key | Description | Type | Required | Default | Notes |
+|-------------------|--------------------------------------------------------|---------------------|----------|---------|----------------------------------------------------------------------------------------------------------|
+| `amount` | The amount of damage needed. | Integer | Yes | \- | Damage is measured in HP, 1 heart = 2 HP. A player has 20 HP by default, with no status effects applied. |
+| `name` / `names` | The MythicMob ID. | String | Yes | \- | \- |
+| `name-match-mode` | The match mode to be used to compare the strings | String | No | EQUALS | One of: `EQUALS`, `STARTS_WITH`, `ENDS_WITH`. |
+| `level` | The level the mob must be at. | Integer | Yes | \- | \- |
+| `min-level` | The minimum level the mob must be at. | Integer | Yes | \- | \- |
+| `item` | Specific item which should be used to deal damage. | ItemStack | No | \- | Accepts standard [item definition](../configuration/defining-items). |
+| `data` | The data code for the item. | Integer | No | 0 | This field is not used in Minecraft versions 1.13+, nor is it compatible with ItemStack definitions. |
+| `exact-match` | Whether the item should exactly match what is defined. | Boolean | No | true | \- |
+| `worlds` | Worlds which should count towards the progress. | List of world names | No | \- | \- |
+
+## Examples
+
+Deal 200 damage to a mythic mob with the ID "SkeletalKnight" of at least level 3:
+
+``` yaml
+mythicmobs:
+ type: "mythicmobs_dealdamage"
+ amount: 200 # amount of damage to be dealt
+ name: "SkeletalKnight" # internal name of mob (name in config - NOT display name)
+ min-level: 3 # (OPTIONAL) the minimum level the mob must be for it to count
+ worlds: # (OPTIONAL) restrict to certain worlds
+ - "world"
+```