SCTX |
scn DLCTomeSCRIPTDLCTomeStandardDisintegrateWeapon3Journeyman
short button
short used
begin OnEquip player
if used == 0
MessageBox "Do you want to add 'Corrode Weapon' to your spell list?", "Yes", "No"
endif
end
begin OnActivate
Activate
if isActionRef player == 1 && used == 0
MessageBox "Do you want to add 'Corrode Weapon' 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 StandardDisintegrateWeapon3Journeyman
playsound SPLDestructionCast
set used to 1
endif
endif
end
|