Ip const onhit castspell

From NWN Lexicon
Jump to: navigation, search

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

Constant Value Description
IP_CONST_ONHIT_CASTSPELL_ACID_FOG 0
Cast the acid fog spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ACID_SPLASH 81
Cast the acid splash spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ACTIVATE_ITEM 78
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_BALAGARNSIRONHORN 91
Cast the Balagarn's Iron Horn spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BALL_LIGHTNING 113
Cast the ball lightning spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BANE 100
Cast the bane spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BANISHMENT 85
Cast the banishment spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BESTOW_CURSE 1
Cast the bestow curse spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BIGBYS_CLENCHED_FIST 106
Cast Bigby's clenched fist spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BIGBYS_CRUSHING_HAND 107
Cast the Bigby's crushing hand spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BIGBYS_FORCEFUL_HAND 104
Cast the Bigby's forceful hand spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BIGBYS_GRASPING_HAND 105
Cast the Bigby's grasping hand spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BIGBYS_INTERPOSING_HAND 103
Cast the Bigby's interposing hand spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BLADE_BARRIER 2
Cast the blade barrier spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BLINDNESS_AND_DEAFNESS 3
Cast the blindness and deafness spell OnHit.
IP_CONST_ONHIT_CASTSPELL_BOMBARDMENT 80
Cast the bombardment spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CALL_LIGHTNING 4
Cast the call lightning spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CHAIN_LIGHTNING 5
Cast the chain lightning spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CLOUDKILL 6
Cast the cloudkill spell OnHit.
IP_CONST_ONHIT_CASTSPELL_COMBUST 140
Cast the combust spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CONFUSION 7
Cast the confusion spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CONTAGION 8
Cast the contagion spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CREEPING_DOOM 72
Cast the creeping doom spell OnHit.
IP_CONST_ONHIT_CASTSPELL_CRUMBLE 110
Cast the crumble spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DARKNESS 9
Cast the darkness spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DAZE 10
Cast the daze spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DEAFENING_CLNG 137
Cast the deafening clang spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DELAYED_BLAST_FIREBALL 11
Cast the delayed blast fireball spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DESTRUCTION 73
Cast the destruction spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DISMISSAL 12
Cast the dismissal spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DISPEL_MAGIC 13
Cast the dispel magic spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DOOM 14
Cast the doom spell OnHit.
IP_CONST_ONHIT_CASTSPELL_DROWN 92
Cast the drown spell OnHit.
IP_CONST_ONHIT_CASTSPELL_EARTHQUAKE 83
Cast the earthquake spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ELECTRIC_JOLT 93
Cast the electric jolt spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ENERGY_DRAIN 15
Cast the energy drain spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ENERVATION 16
Cast the enervation spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ENTANGLE 17
Cast the entangle spell OnHit.
IP_CONST_ONHIT_CASTSPELL_EVARDS_BLACK_TENTACLES 77
Cast the Evard's black tentacles spell OnHit.
IP_CONST_ONHIT_CASTSPELL_EVIL_BLIGHT 121
Cast the evil blight spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FEAR 18
Cast the fear spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FEEBLEMIND 19
Cast the feeblemind spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FIRE_STORM 20
Cast the firestorm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FIREBALL 21
Cast the fireball spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FIREBRAND 94
Cast the firebrand spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FLAME_LASH 22
Cast the flamelash spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FLAME_STRIKE 23
Cast the flamestrike spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FLARE 79
Cast the flare spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FLESH_TO_STONE 108
Cast the flesh to stone spell OnHit.
IP_CONST_ONHIT_CASTSPELL_FREEZE 139
Cast the freeze spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GEDLEES_ELECTRIC_LOOP 114
Cast the Gedlee's electric loop spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GHOUL_TOUCH 24
Cast the ghoul touch spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GREASE 25
Cast the grease spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GREAT_THUNDERCLAP 112
Cast the great thunderclap spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GREATER_DISPELLING 26
Cast the greater dispelling spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GREATER_SPELL_BREACH 27
Cast the greater spell breach spell OnHit.
IP_CONST_ONHIT_CASTSPELL_GUST_OF_WIND 28
Cast the gust of wind spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HAMMER_OF_THE_GODS 29
Cast the hammer of the gods spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HARM 30
Cast the harm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HOLD_ANIMAL 31
Cast the hold animal spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HOLD_MONSTER 32
Cast the hold monster spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HOLD_PERSON 33
Cast the hold person spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HORIZIKAULS_BOOM 115
Cast the Horizikaul's boom spell OnHit.
IP_CONST_ONHIT_CASTSPELL_HORRID_WILTING 74
Cast the horrid wilting spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ICE_STORM 75
Cast the ice storm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_IMPLOSION 34
Cast the implosion spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INCENDIARY_CLOUD 35
Cast the incendiary cloud spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFERNO 97
Cast the inferno spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFESTATION_OF_MAGGOTS 111
Cast the infestation of maggots spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFLICT_CRITICAL_WOUNDS 90
Cast the inflich critical wounds spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFLICT_LIGHT_WOUNDS 87
Cast the inflict light wounds spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFLICT_MINOR_WOUNDS 86
Cast the inflict minor wounds spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFLICT_MODERATE_WOUNDS 88
Cast the inflict moderate wounds spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INFLICT_SERIOUS_WOUNDS 89
Cast the inflict serious wounds spell OnHit.
IP_CONST_ONHIT_CASTSPELL_INTELLIGENT_WEAPON_ONHIT 135
Cast the intelligent weapon OnHit spell.
IP_CONST_ONHIT_CASTSPELL_ISAACS_GREATER_MISSILE_STORM 99
Cast the Isaac's greater missile storm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ISAACS_LESSER_MISSILE_STORM 98
Cast the Isaac's lesser missile storm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_KNOCKDOWN 138
Cast the knockdown spell OnHit.
IP_CONST_ONHIT_CASTSPELL_LESSER_DISPEL 36
Cast the lesser dispel spell OnHit.
IP_CONST_ONHIT_CASTSPELL_LESSER_SPELL_BREACH 38
Cast the lesser spell breach spell OnHit.
IP_CONST_ONHIT_CASTSPELL_LIGHT 40
Cast the light spell OnHit.
IP_CONST_ONHIT_CASTSPELL_LIGHTNING_BOLT 41
Cast the lightning bolt spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MAGIC_MISSILE 42
Cast the magic missile spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MASS_BLINDNESS_AND_DEAFNESS 43
Cast the mass blindness and deafness spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MASS_CHARM 44
Cast the mass charm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MELFS_ACID_ARROW 45
Cast the Melf's acid arrow spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MESTILS_ACID_BREATH 116
Cast the Mestil's acid breath spell OnHit.
IP_CONST_ONHIT_CASTSPELL_METEOR_SWARM 46
Cast the meteor swarm spell OnHit.
IP_CONST_ONHIT_CASTSPELL_MIND_FOG 47
Cast the mind fog spell OnHit.
IP_CONST_ONHIT_CASTSPELL_NEGATIVE_ENERGY_BURST 76
Cast the negative energy burst spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_CHAOSSHIELD 130
Cast the chaosshield spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_CONSTRICTWEAPON 131
Cast the constrict weapon spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_DARKFIRE 127
Cast the darkfire spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_EXTRACTBRAIN 128
Cast the extract brain spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_FIREDAMAGE 124
Cast the firedamage spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_PLANARRIFT 126
Cast the planar rift spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_SLAYRAKSHASA 123
Cast the slay rakshasa spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_TELEPORT 122
Cast the teleport spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHIT_UNIQUEPOWER 125
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_ONHITDEMILICHTOUCH 133
Cast the demilich touch spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHITDRACOLICHTOUCH 134
Cast the dracolich touch spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHITFLAMINGSKIN 129
Cast the flaming skin spell OnHit.
IP_CONST_ONHIT_CASTSPELL_ONHITRUINARMORBEBILITH 132
Cast the ruin armor bebilith spell OnHit.
IP_CONST_ONHIT_CASTSPELL_PARALYZE_2 136
UNKNOWN.
IP_CONST_ONHIT_CASTSPELL_PHANTASMAL_KILLER 49
Cast the phantasmal killer spell OnHit.
IP_CONST_ONHIT_CASTSPELL_POISON 50
Cast the poison spell OnHit.
IP_CONST_ONHIT_CASTSPELL_POWER_WORD_KILL 51
Cast the power word: kill spell OnHit.
IP_CONST_ONHIT_CASTSPELL_POWER_WORD_STUN 52
Cast the power word: stun spell OnHit.
IP_CONST_ONHIT_CASTSPELL_QUILLFIRE 82
Cast the quillfire spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SCARE 54
Cast the scare spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SCINTILLATING_SPHERE 117
Cast the scintillating sphere spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SEARING_LIGHT 55
Cast the searing light spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SILENCE 56
Cast the silence spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SLAY_LIVING 57
Cast the slay living spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SLEEP 58
Cast the sleep spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SLOW 59
Cast the slow spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SOUND_BURST 60
Cast the sound burst spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SPIKE_GROWTH 101
Cast the spike growth spell OnHit.
IP_CONST_ONHIT_CASTSPELL_STINKING_CLOUD 61
Cast the stinking cloud spell OnHit.
IP_CONST_ONHIT_CASTSPELL_STONE_TO_FLESH 109
Cast the stone to flesh spell OnHit.
IP_CONST_ONHIT_CASTSPELL_STONEHOLD 119
Cast the stonehold spell OnHit.
IP_CONST_ONHIT_CASTSPELL_STORM_OF_VENGEANCE 63
Cast the storm of vengeance spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SUNBEAM 64
Cast the sunbeam spell OnHit.
IP_CONST_ONHIT_CASTSPELL_SUNBURST 84
Cast the sunburst spell OnHit.
IP_CONST_ONHIT_CASTSPELL_TASHAS_HIDEOUS_LAUGHTER 102
Cast the tasha's hideous laughter spell OnHit.
IP_CONST_ONHIT_CASTSPELL_UNDEATH_TO_DEATH 118
Cast the undeath to death spell OnHit.
IP_CONST_ONHIT_CASTSPELL_UNDEATHS_ETERNAL_FOE 96
Cast the undeaths' eternal foe spell OnHit.
IP_CONST_ONHIT_CASTSPELL_VAMPIRIC_TOUCH 65
Cast the vampiric touch spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WAIL_OF_THE_BANSHEE 66
Cast the wail of the banshee spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WALL_OF_FIRE 67
Cast the wall of fire spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WEB 68
Cast the web spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WEIRD 69
Cast the weird spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WORD_OF_FAITH 70
Cast the word of faith spell OnHit.
IP_CONST_ONHIT_CASTSPELL_WOUNDING_WHISPERS 95
Cast the wounding whispers spell OnHit.


See Also

functions: 

ItemPropertyOnHitCastSpell