summaryrefslogtreecommitdiff
path: root/docs/item_template.md
diff options
context:
space:
mode:
authorBarbz <BarbzYHOOL@users.noreply.github.com>2020-12-23 00:32:39 +0100
committerGitHub <noreply@github.com>2020-12-23 00:32:39 +0100
commit0c3ef85427a91c60e6912eee86a10bf0797f2209 (patch)
treec54e1e92ab435c4694d12ebf2aad19b6c819e4ef /docs/item_template.md
parent45ce89f2ef47c2bfdd9c92c6e7538e3f8f4796e3 (diff)
downloadwiki-0c3ef85427a91c60e6912eee86a10bf0797f2209.tar.gz
wiki-0c3ef85427a91c60e6912eee86a10bf0797f2209.tar.bz2
wiki-0c3ef85427a91c60e6912eee86a10bf0797f2209.zip
fix: Useful info about spell cooldowns in item_template (#313)
* fix: Useful info about spell cooldowns in item_template * Update item_template.md Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
Diffstat (limited to 'docs/item_template.md')
-rw-r--r--docs/item_template.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/item_template.md b/docs/item_template.md
index ba13f1d..b41f674 100644
--- a/docs/item_template.md
+++ b/docs/item_template.md
@@ -3034,19 +3034,22 @@ The proc per minute rate controlling how often the spell is triggered (if [\#spe
### spellcooldown
-The cooldown in milliseconds for the specific spell controlling how often the spell can be used. Use -1 to use the default spell cooldown. Note: this is not the "internal cooldown" of procs commonly found on items such as trinkets with "Chance on hit" effects.
+The cooldown in milliseconds for the specific spell controlling how often the spell can be used. Use -1 to use the default spell cooldown.
+Note: this is not the "internal cooldown" of procs commonly found on items such as trinkets with "Chance on hit" effects.
### spellcategory
-The category that the spell is in.
+The category that the spell is in. You can choose one from the DBC `SpellCategory.dbc` or invent a new one (> 1260) for your custom item.
### spellcategorycooldown
-The cooldown time in milliseconds that is applied to all other spells in the category that the triggered spell is also in. Use -1 to use the default spell cooldown.
+The cooldown time in milliseconds that is applied to all other spells in the category that the triggered spell is also in. Use -1 to use the default spell cooldown.
+Note: you can have a `spellcooldown` and a `spellcategorycooldown`, they're not mutually exclusive.
### bonding
The bonding for the item.
+
**Note:** To use the "Bind to Account" bonding, the item must have its `flags` set to 134217728 (minimum) and a `bonding` > 0 (ex: 1,2,3).
<table>