Jump to content

Script help


Kuraikiba

Recommended Posts

I basically need this script so instead of the spell being added and removed upon being put into and taken out of the inventory, I need the spell to be added only when the item in question is equipped and removed when the item is unequipped.

 

scn AshGhoulRobeScript

short hasKey2

Begin GameMode
if ( player.GetDead == 0 )
if ( player.getitemcount AshGhoulRobe == 1 )
	if ( player.isspelltarget ShaderLichNether == 0 )
		player.addspell ShaderLichNether
	endif
elseif ( player.getitemcount AshGhoulRobe == 0 )
	if ( player.isspelltarget ShaderLichNether == 1 )
		player.removespell ShaderLichNether
	endif
endif
endif


End

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...