|
1 | 1 | import { Flag } from '../../types/general'; |
2 | 2 |
|
3 | 3 | export const MECHANIC_IMMUNE_MASK: Flag[] = [ |
4 | | - { bit: 0, name: 'NONE' }, |
5 | | - { bit: 1, name: 'CHARM' }, |
6 | | - { bit: 2, name: 'DISORIENTED' }, |
7 | | - { bit: 3, name: 'DISARM' }, |
8 | | - { bit: 4, name: 'DISTRACT' }, |
9 | | - { bit: 5, name: 'FEAR' }, |
10 | | - { bit: 6, name: 'GRIP - Death Grip and similar effects' }, |
11 | | - { bit: 7, name: 'ROOT' }, |
12 | | - { bit: 8, name: 'SLOW_ATTACK' }, |
13 | | - { bit: 9, name: 'SILENCE' }, |
14 | | - { bit: 10, name: 'SLEEP' }, |
15 | | - { bit: 11, name: 'SNARE' }, |
16 | | - { bit: 12, name: 'STUN' }, |
17 | | - { bit: 13, name: 'FREEZE' }, |
18 | | - { bit: 14, name: 'KNOCKOUT - Incapacitate effects such as Repentance (Paladin)' }, |
19 | | - { bit: 15, name: 'BLEED' }, |
20 | | - { bit: 16, name: 'BANDAGE - Healing' }, |
21 | | - { bit: 17, name: 'POLYMORPH' }, |
22 | | - { bit: 18, name: 'BANISH' }, |
23 | | - { bit: 19, name: 'SHIELD' }, |
24 | | - { bit: 20, name: 'SHACKLE - Shackle Undead only' }, |
25 | | - { bit: 21, name: 'MOUNT - Any effect that summons a mount' }, |
26 | | - { bit: 22, name: 'INFECTED - e.g. Frost Fever, Blood Plague etc..' }, |
27 | | - { bit: 23, name: 'TURN - e.g. Turn Evil' }, |
28 | | - { bit: 24, name: 'HORROR - e.g. Death Coil (Warlock)' }, |
29 | | - { bit: 25, name: 'INVULNERABILITY - Forbearance, Nether Protection, Diplomatic Immunity only' }, |
30 | | - { bit: 26, name: 'INTERRUPT' }, |
31 | | - { bit: 27, name: 'DAZE' }, |
32 | | - { bit: 28, name: 'DISCOVERY - Any Create Item effect' }, |
33 | | - { bit: 29, name: 'IMMUNE_SHIELD - e.g. Divine Shield, Ice Block, Hand of Protection' }, |
34 | | - { bit: 30, name: 'SAPPED' }, |
35 | | - { bit: 31, name: 'ENRAGED' }, |
| 4 | + { bit: 0, name: 'CHARM' }, |
| 5 | + { bit: 1, name: 'DISORIENTED' }, |
| 6 | + { bit: 2, name: 'DISARM' }, |
| 7 | + { bit: 3, name: 'DISTRACT' }, |
| 8 | + { bit: 4, name: 'FEAR' }, |
| 9 | + { bit: 5, name: 'GRIP - Death Grip and similar effects' }, |
| 10 | + { bit: 6, name: 'ROOT' }, |
| 11 | + { bit: 7, name: 'SLOW_ATTACK' }, |
| 12 | + { bit: 8, name: 'SILENCE' }, |
| 13 | + { bit: 9, name: 'SLEEP' }, |
| 14 | + { bit: 10, name: 'SNARE' }, |
| 15 | + { bit: 11, name: 'STUN' }, |
| 16 | + { bit: 12, name: 'FREEZE' }, |
| 17 | + { bit: 13, name: 'KNOCKOUT - Incapacitate effects such as Repentance (Paladin)' }, |
| 18 | + { bit: 14, name: 'BLEED' }, |
| 19 | + { bit: 15, name: 'BANDAGE - Healing' }, |
| 20 | + { bit: 16, name: 'POLYMORPH' }, |
| 21 | + { bit: 17, name: 'BANISH' }, |
| 22 | + { bit: 18, name: 'SHIELD' }, |
| 23 | + { bit: 19, name: 'SHACKLE - Shackle Undead only' }, |
| 24 | + { bit: 20, name: 'MOUNT - Any effect that summons a mount' }, |
| 25 | + { bit: 21, name: 'INFECTED - e.g. Frost Fever, Blood Plague etc..' }, |
| 26 | + { bit: 22, name: 'TURN - e.g. Turn Evil' }, |
| 27 | + { bit: 23, name: 'HORROR - e.g. Death Coil (Warlock)' }, |
| 28 | + { bit: 24, name: 'INVULNERABILITY - Forbearance, Nether Protection, Diplomatic Immunity only' }, |
| 29 | + { bit: 25, name: 'INTERRUPT' }, |
| 30 | + { bit: 26, name: 'DAZE' }, |
| 31 | + { bit: 27, name: 'DISCOVERY - Any Create Item effect' }, |
| 32 | + { bit: 28, name: 'IMMUNE_SHIELD - e.g. Divine Shield, Ice Block, Hand of Protection' }, |
| 33 | + { bit: 29, name: 'SAPPED' }, |
| 34 | + { bit: 30, name: 'ENRAGED' }, |
36 | 35 | ]; |
0 commit comments