IP_CONST_ONHIT_CASTSPELL_* Constant Group

Itemproperty constants relating to OnHit: Cast spell. Please consult the SPELL_* constant section of the Lexicon for further info.



Constants

ConstantValueDescription
IP_CONST_ONHIT_CASTSPELL_ACID_FOG0
Cast the acid fog spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ACID_SPLASH81
Cast the acid splash spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ACTIVATE_ITEM78
Executes the x2_s3_onhitcast script. See that script for details of what it does. You can set it up to work with the tag based scripting method so it will execute the script with the name the same as the tag of the weapon. NOTE: It is unknown if this differs from the IP_CONST_ONHIT_CASTSPELL_ONHIT_UNIQUEPOWER constant's effect.
IP_CONST_ONHIT_CASTSPELL_BALAGARNSIRONHORN91
Cast the Balagarn's Iron Horn spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BALL_LIGHTNING113
Cast the ball lightning spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BANE100
Cast the bane spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BANISHMENT85
Cast the banishment spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BESTOW_CURSE1
Cast the bestow curse spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BIGBYS_CLENCHED_FIST106
Cast Bigby's clenched fist spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BIGBYS_CRUSHING_HAND107
Cast the Bigby's crushing hand spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BIGBYS_FORCEFUL_HAND104
Cast the Bigby's forceful hand spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BIGBYS_GRASPING_HAND105
Cast the Bigby's grasping hand spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BIGBYS_INTERPOSING_HAND103
Cast the Bigby's interposing hand spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BLADE_BARRIER2
Cast the blade barrier spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BLINDNESS_AND_DEAFNESS3
Cast the blindness and deafness spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BOMBARDMENT80
Cast the bombardment spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CALL_LIGHTNING4
Cast the call lightning spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CHAIN_LIGHTNING5
Cast the chain lightning spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CLOUDKILL6
Cast the cloudkill spell OnHit.
IP_CONST_ONHIT_CASTSPELL_COMBUST140
Cast the combust spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CONFUSION7
Cast the confusion spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CONTAGION8
Cast the contagion spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CREEPING_DOOM72
Cast the creeping doom spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CRUMBLE110
Cast the crumble spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DARKNESS9
Cast the darkness spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DAZE10
Cast the daze spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DEAFENING_CLNG137
Cast the deafening clang spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DELAYED_BLAST_FIREBALL11
Cast the delayed blast fireball spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DESTRUCTION73
Cast the destruction spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DISMISSAL12
Cast the dismissal spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DISPEL_MAGIC13
Cast the dispel magic spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DOOM14
Cast the doom spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DROWN92
Cast the drown spell OnHit.
IP_CONST_ONHIT_CASTSPELL_EARTHQUAKE83
Cast the earthquake spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ELECTRIC_JOLT93
Cast the electric jolt spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ENERGY_DRAIN15
Cast the energy drain spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ENERVATION16
Cast the enervation spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ENTANGLE17
Cast the entangle spell OnHit.
IP_CONST_ONHIT_CASTSPELL_EVARDS_BLACK_TENTACLES77
Cast the Evard's black tentacles spell OnHit.
IP_CONST_ONHIT_CASTSPELL_EVIL_BLIGHT121
Cast the evil blight spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FEAR18
Cast the fear spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FEEBLEMIND19
Cast the feeblemind spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FIRE_STORM20
Cast the firestorm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FIREBALL21
Cast the fireball spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FIREBRAND94
Cast the firebrand spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FLAME_LASH22
Cast the flamelash spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FLAME_STRIKE23
Cast the flamestrike spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FLARE79
Cast the flare spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FLESH_TO_STONE108
Cast the flesh to stone spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FREEZE139
Cast the freeze spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GEDLEES_ELECTRIC_LOOP114
Cast the Gedlee's electric loop spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GHOUL_TOUCH24
Cast the ghoul touch spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GREASE25
Cast the grease spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GREAT_THUNDERCLAP112
Cast the great thunderclap spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GREATER_DISPELLING26
Cast the greater dispelling spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GREATER_SPELL_BREACH27
Cast the greater spell breach spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GUST_OF_WIND28
Cast the gust of wind spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HAMMER_OF_THE_GODS29
Cast the hammer of the gods spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HARM30
Cast the harm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HOLD_ANIMAL31
Cast the hold animal spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HOLD_MONSTER32
Cast the hold monster spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HOLD_PERSON33
Cast the hold person spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HORIZIKAULS_BOOM115
Cast the Horizikaul's boom spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HORRID_WILTING74
Cast the horrid wilting spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ICE_STORM75
Cast the ice storm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_IMPLOSION34
Cast the implosion spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INCENDIARY_CLOUD35
Cast the incendiary cloud spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFERNO97
Cast the inferno spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFESTATION_OF_MAGGOTS111
Cast the infestation of maggots spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFLICT_CRITICAL_WOUNDS90
Cast the inflich critical wounds spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFLICT_LIGHT_WOUNDS87
Cast the inflict light wounds spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFLICT_MINOR_WOUNDS86
Cast the inflict minor wounds spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFLICT_MODERATE_WOUNDS88
Cast the inflict moderate wounds spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFLICT_SERIOUS_WOUNDS89
Cast the inflict serious wounds spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INTELLIGENT_WEAPON_ONHIT135
Cast the intelligent weapon OnHit spell.
IP_CONST_ONHIT_CASTSPELL_ISAACS_GREATER_MISSILE_STORM99
Cast the Isaac's greater missile storm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ISAACS_LESSER_MISSILE_STORM98
Cast the Isaac's lesser missile storm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_KNOCKDOWN138
Cast the knockdown spell OnHit.
IP_CONST_ONHIT_CASTSPELL_LESSER_DISPEL36
Cast the lesser dispel spell OnHit.
IP_CONST_ONHIT_CASTSPELL_LESSER_SPELL_BREACH38
Cast the lesser spell breach spell OnHit.
IP_CONST_ONHIT_CASTSPELL_LIGHT40
Cast the light spell OnHit.
IP_CONST_ONHIT_CASTSPELL_LIGHTNING_BOLT41
Cast the lightning bolt spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MAGIC_MISSILE42
Cast the magic missile spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MASS_BLINDNESS_AND_DEAFNESS43
Cast the mass blindness and deafness spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MASS_CHARM44
Cast the mass charm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MELFS_ACID_ARROW45
Cast the Melf's acid arrow spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MESTILS_ACID_BREATH116
Cast the Mestil's acid breath spell OnHit.
IP_CONST_ONHIT_CASTSPELL_METEOR_SWARM46
Cast the meteor swarm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MIND_FOG47
Cast the mind fog spell OnHit.
IP_CONST_ONHIT_CASTSPELL_NEGATIVE_ENERGY_BURST76
Cast the negative energy burst spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_CHAOSSHIELD130
Cast the chaosshield spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_CONSTRICTWEAPON131
Cast the constrict weapon spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_DARKFIRE127
Cast the darkfire spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_EXTRACTBRAIN128
Cast the extract brain spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_FIREDAMAGE124
Cast the firedamage spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_PLANARRIFT126
Cast the planar rift spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_SLAYRAKSHASA123
Cast the slay rakshasa spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_TELEPORT122
Cast the teleport spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_UNIQUEPOWER125
Executes the x2_s3_onhitcast script. See that script for details of what it does. You can set it up to work with the tag based scripting method so it will execute the script with the name the same as the tag of the weapon. NOTE: It is unknown if this differs from the IP_CONST_ONHIT_CASTSPELL_ACTIVATE_ITEM constant's effect.
IP_CONST_ONHIT_CASTSPELL_ONHITDEMILICHTOUCH133
Cast the demilich touch spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHITDRACOLICHTOUCH134
Cast the dracolich touch spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHITFLAMINGSKIN129
Cast the flaming skin spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHITRUINARMORBEBILITH132
Cast the ruin armor bebilith spell OnHit.
IP_CONST_ONHIT_CASTSPELL_PARALYZE_2136
UNKNOWN.
IP_CONST_ONHIT_CASTSPELL_PHANTASMAL_KILLER49
Cast the phantasmal killer spell OnHit.
IP_CONST_ONHIT_CASTSPELL_POISON50
Cast the poison spell OnHit.
IP_CONST_ONHIT_CASTSPELL_POWER_WORD_KILL51
Cast the power word: kill spell OnHit.
IP_CONST_ONHIT_CASTSPELL_POWER_WORD_STUN52
Cast the power word: stun spell OnHit.
IP_CONST_ONHIT_CASTSPELL_QUILLFIRE82
Cast the quillfire spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SCARE54
Cast the scare spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SCINTILLATING_SPHERE117
Cast the scintillating sphere spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SEARING_LIGHT55
Cast the searing light spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SILENCE56
Cast the silence spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SLAY_LIVING57
Cast the slay living spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SLEEP58
Cast the sleep spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SLOW59
Cast the slow spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SOUND_BURST60
Cast the sound burst spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SPIKE_GROWTH101
Cast the spike growth spell OnHit.
IP_CONST_ONHIT_CASTSPELL_STINKING_CLOUD61
Cast the stinking cloud spell OnHit.
IP_CONST_ONHIT_CASTSPELL_STONE_TO_FLESH109
Cast the stone to flesh spell OnHit.
IP_CONST_ONHIT_CASTSPELL_STONEHOLD119
Cast the stonehold spell OnHit.
IP_CONST_ONHIT_CASTSPELL_STORM_OF_VENGEANCE63
Cast the storm of vengeance spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SUNBEAM64
Cast the sunbeam spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SUNBURST84
Cast the sunburst spell OnHit.
IP_CONST_ONHIT_CASTSPELL_TASHAS_HIDEOUS_LAUGHTER102
Cast the tasha's hideous laughter spell OnHit.
IP_CONST_ONHIT_CASTSPELL_UNDEATH_TO_DEATH118
Cast the undeath to death spell OnHit.
IP_CONST_ONHIT_CASTSPELL_UNDEATHS_ETERNAL_FOE96
Cast the undeaths' eternal foe spell OnHit.
IP_CONST_ONHIT_CASTSPELL_VAMPIRIC_TOUCH65
Cast the vampiric touch spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WAIL_OF_THE_BANSHEE66
Cast the wail of the banshee spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WALL_OF_FIRE67
Cast the wall of fire spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WEB68
Cast the web spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WEIRD69
Cast the weird spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WORD_OF_FAITH70
Cast the word of faith spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WOUNDING_WHISPERS95
Cast the wounding whispers spell OnHit.

See Also

functions: ItemPropertyOnHitCastSpell