void main()
{
object oPC = GetItemActivator();
SetLocalInt(oPC, "UnderwaterArea", 0);
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_CHARM), oPC);

effect eImmunity1 = EffectSpellImmunity(SPELL_ACID_FOG);
effect eImmunity2 = EffectSpellImmunity(SPELL_CLOUD_OF_BEWILDERMENT);
effect eImmunity3 = EffectSpellImmunity(SPELL_CLOUDKILL);
effect eImmunity4 = EffectSpellImmunity(SPELL_DROWN);
effect eImmunity5 = EffectSpellImmunity(SPELL_GRENADE_CHOKING);
effect eImmunity6 = EffectSpellImmunity(SPELL_MESTILS_ACID_BREATH);
effect eImmunity7 = EffectSpellImmunity(SPELL_STINKING_CLOUD);

ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eImmunity1, oPC, 360.0f);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eImmunity2, oPC, 360.0f);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eImmunity3, oPC, 360.0f);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eImmunity4, oPC, 360.0f);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eImmunity5, oPC, 360.0f);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eImmunity6, oPC, 360.0f);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eImmunity7, oPC, 360.0f);

}
