SCTX |
scn DLCTomeSCRIPTDLCTomeStandardTurnUndead4Expert
short button
short used
begin OnEquip player
if used == 0
MessageBox "Do you want to add 'Dismiss Undead' to your spell list?", "Yes", "No"
endif
end
begin OnActivate
Activate
if isActionRef player == 1 && used == 0
MessageBox "Do you want to add 'Dismiss Undead' to your spell list?", "Yes", "No"
endif
end
begin menumode
set button to getbuttonpressed
if button > -1
if button == 0
; add the spell to the player's spellbook
player.addspell StandardTurnUndead4Expert
playsound SPLRestorationCast
set used to 1
endif
endif
end
|