remove attribute not working?
Posted: Sat Sep 09, 2006 12:39 am
Code: Select all
if( (changeGraphic == 0x190 ) or (changeGraphic == 0x191 ));
SendSysMessage( caster, "remove stat works ");
if (GetObjProperty( caster, "SubRaceName" ) == "Cat")
RemoveAttributeMod(caster, ATTRIBUTEID_STRENGTH, CInt(50));
RemoveAttributeMod(caster, ATTRIBUTEID_DEXTERITY, CInt(50));
RemoveAttributeMod(caster, ATTRIBUTEID_INTELLIGENCE, CInt(50));
SendSysMessage( caster, "you lose stat cat" );
endif
endif