diff options
| author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2021-02-03 03:47:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-03 03:47:05 +0100 |
| commit | d46ff5b42a52922a6e3f8b6e298ad89eb48ad5f7 (patch) | |
| tree | 80490d3009cc26cd78a03516a9662f9b00bf1cc2 | |
| parent | 17d372c8924ecf80848064b6f75c4d4ed19ddf7a (diff) | |
| download | wiki-d46ff5b42a52922a6e3f8b6e298ad89eb48ad5f7.tar.gz wiki-d46ff5b42a52922a6e3f8b6e298ad89eb48ad5f7.tar.bz2 wiki-d46ff5b42a52922a6e3f8b6e298ad89eb48ad5f7.zip | |
chore(c_t): Add spell_school_immune_mask (#391)
| -rw-r--r-- | docs/creature_template.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/creature_template.md b/docs/creature_template.md index 9ca754b..e48a861 100644 --- a/docs/creature_template.md +++ b/docs/creature_template.md @@ -81,6 +81,7 @@ This table contains the description of creatures. Each spawned creature is an in | [movementId](#movementid) | int(11) unsigned | NO | | 0 | | | | [RegenHealth](#regenhealth) | tinyint(3) unsigned | NO | | 1 | | | | [mechanic_immune_mask](#mechanic_immune_mask) | int(10) unsigned | NO | | 0 | | | +| [spell_school_immune_mask](#spell_school_immune_mask) | int(3) unsigned | NO | | 0 | [flags_extra](#flags_extra) | int(10) unsigned | NO | | 0 | | | | [ScriptName](#scriptname) | char(64) | NO | | | | | | [VerifiedBuild](#verifiedbuild) | smallint(5) | YES | | 0 | | | @@ -679,6 +680,22 @@ Uses references from SpellMechanic.dbc. To combine immunities just add values. Immune to everything corresponds to the value 2147483647 (0x3FFF FFFF). +#### spell_school_immune_mask + +This makes the creature immune to specific spell schools. + +| Flag | Type | +| - | - | +| 1 | SPELL_SCHOOL_NORMAL | +| 2 | SPELL_SCHOOL_HOLY | +| 4 | SPELL_SCHOOL_FIRE | +| 8 | SPELL_SCHOOL_NATURE | +| 16 | SPELL_SCHOOL_FROST | +| 32 | SPELL_SCHOOL_SHADOW | +| 64 | SPELL_SCHOOL_ARCANE | + +To combine immunities just add values. Immune to everything corresponds to the value 127. + #### flags_extra These flags control certain creature specific attributes. Flags can be added together to apply more than one. |
