IP_CONST_ONHIT_ duplicate int values
4BOLTMAIN
Member Posts: 90
In the toolset I found this when writing a script to return itemproperty ItemPropertyOnHitCastSpell(int nSpell, int nLevel) Obviously I am getting ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH
int IP_CONST_ONHIT_ABILITYDRAIN = 18
int IP_CONST_ONHIT_BLINDNESS = 16
then
int IP_CONST_ONHIT_CASTSPELL_ENERVATION = 16
int IP_CONST_ONHIT_CASTSPELL_FEAR = 18
Im going to do some more research in a test mod and see what I discover.
Is there a way to fix this?
EDIT... The top 2 constants are not "ONHIT_CASTSPELL" constants. Problem solved.
int IP_CONST_ONHIT_ABILITYDRAIN = 18
int IP_CONST_ONHIT_BLINDNESS = 16
then
int IP_CONST_ONHIT_CASTSPELL_ENERVATION = 16
int IP_CONST_ONHIT_CASTSPELL_FEAR = 18
Im going to do some more research in a test mod and see what I discover.
Is there a way to fix this?
EDIT... The top 2 constants are not "ONHIT_CASTSPELL" constants. Problem solved.
Post edited by 4BOLTMAIN on
0