IP_CONST_ONHIT_* Constant Group
Itemproperty constants relating to when a weapons successfully hits something.
Constants
| Constant | Value | Description |
|---|
| IP_CONST_ONHIT_ABILITYDRAIN | 18 | |
| IP_CONST_ONHIT_BLINDNESS | 16 | | Make creature blind OnHit. |
|
| IP_CONST_ONHIT_CONFUSION | 3 | |
| IP_CONST_ONHIT_DAZE | 5 | |
| IP_CONST_ONHIT_DEAFNESS | 15 | |
| IP_CONST_ONHIT_DISEASE | 20 | | Make target diseased OnHit. |
|
| IP_CONST_ONHIT_DISPELMAGIC | 11 | | Dispel magic off target OnHit. |
|
| IP_CONST_ONHIT_DOOM | 6 | | Give the target the doom effect OnHit. |
|
| IP_CONST_ONHIT_FEAR | 7 | | Cause fear in the target OnHit. |
|
| IP_CONST_ONHIT_GREATERDISPEL | 12 | | Use greater dispel on target OnHit. |
|
| IP_CONST_ONHIT_HOLD | 2 | |
| IP_CONST_ONHIT_ITEMPOISON | 19 | |
| IP_CONST_ONHIT_KNOCK | 8 | | Knock (unlock) the target OnHit. |
|
| IP_CONST_ONHIT_LESSERDISPEL | 10 | | Use lesser dispel on target OnHit. |
|
| IP_CONST_ONHIT_LEVELDRAIN | 17 | |
| IP_CONST_ONHIT_MORDSDISJUNCTION | 13 | | Use Mordenkainen's disjunction on target OnHit. |
|
| IP_CONST_ONHIT_SILENCE | 14 | | Silence the target OnHit. |
|
| IP_CONST_ONHIT_SLAYALIGNMENT | 23 | |
| IP_CONST_ONHIT_SLAYALIGNMENTGROUP | 22 | | Slay alignmentgroup OnHit. |
|
| IP_CONST_ONHIT_SLAYRACE | 21 | |
| IP_CONST_ONHIT_SLEEP | 0 | |
| IP_CONST_ONHIT_SLOW | 9 | |
| IP_CONST_ONHIT_STUN | 1 | |
| IP_CONST_ONHIT_VORPAL | 24 | |
| IP_CONST_ONHIT_WOUNDING | 25 | | Wound target OnHit. Will keep taking damage until healed. |
|
See Also