Scripts

T_ScObj_StartFrostPower

Tamriel_Data.esm
Variables 2
Local Variables
OnPCEquip
messageDisplayed
Source
1Begin T_ScObj_StartFrostPower 2 3short OnPCEquip 4short messageDisplayed 5 6if ( OnPCEquip == 1 ) 7 if ( MenuMode == 1 ) 8 return 9 endif 10 11 if ( player->getSpell "T_Nor_Des_StarFrost" == 0 ) 12 player->addSpell "T_Nor_Des_StarFrost" 13 if ( messageDisplayed == 0 ) 14 set messageDisplayed to 1 15 messagebox "Wearing this amulet grants you the power of Celestial Frost" 16 endif 17 endif 18 19elseif ( player->getSpell "T_Nor_Des_StarFrost" == 1 ) 20 player->removeSpell "T_Nor_Des_StarFrost" 21endif 22 23end T_ScObj_StartFrostPower