begin wraithguard_change
if ( Player->HasItemEquipped "wraithguard" == 1 )
Player->AddSpell "wraithguard_change"
endif
if ( Player->HasItemEquipped "wraithguard" == 0 )
Player->RemoveSpell "wraithguard_change"
endif
if ( Player->HasItemEquipped "wraithguard" == 1 )
if ( Player->GetSpellEffects, "wraithguard_change" == 1 )
player->additem "wraithguard_amulet" 1
player->removeitem "wraithguard" 1
endif
endif
end
if ( Player->HasItemEquipped "wraithguard" == 1 )
Player->AddSpell "wraithguard_change"
endif
if ( Player->HasItemEquipped "wraithguard" == 0 )
Player->RemoveSpell "wraithguard_change"
endif
if ( Player->HasItemEquipped "wraithguard" == 1 )
if ( Player->GetSpellEffects, "wraithguard_change" == 1 )
player->additem "wraithguard_amulet" 1
player->removeitem "wraithguard" 1
endif
endif
end