summaryrefslogtreecommitdiff
path: root/docs/hooks-script.md
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2021-04-28 16:33:47 +0200
committerGitHub <noreply@github.com>2021-04-28 16:33:47 +0200
commit4c66b1247c264be125741d39c6a8da7a4d5aadb6 (patch)
treeb347d83e5a0db9a981b492a8d15c0c47d9876ab8 /docs/hooks-script.md
parentd0654049aeea675c4f43bc383d2a5935448a2d6e (diff)
downloadwiki-4c66b1247c264be125741d39c6a8da7a4d5aadb6.tar.gz
wiki-4c66b1247c264be125741d39c6a8da7a4d5aadb6.tar.bz2
wiki-4c66b1247c264be125741d39c6a8da7a4d5aadb6.zip
Update hooks-script.md
Diffstat (limited to 'docs/hooks-script.md')
-rw-r--r--docs/hooks-script.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/hooks-script.md b/docs/hooks-script.md
index 927a225..563b8a1 100644
--- a/docs/hooks-script.md
+++ b/docs/hooks-script.md
@@ -25,6 +25,10 @@ The list of the hooks can be found inside the [ScriptMgr.h file](https://github.
## How to create a hook
+Don't worry! is not scary as you may think!
+
+![](https://media4.giphy.com/media/B4ZgcoPTHYXL2/giphy.gif?cid=ecf05e47mvpbtn5sbmgkcg2gurnrjk35hsdt3m7faillyp26&rid=giphy.gif&ct=g)
+
Before going through the next step you should ask yourself: do I have to create a new script type based on `ScriptObject` class or can I reuse one of those already existing?
A script type is normally strictly related to a certain class of the core. For example: