HiddenTradition_PRC8/_removed/spl_maste_elem_c.nss
2024-06-20 15:47:42 -04:00

14 lines
439 B
Plaintext

#include "prc_alterations"
#include "x2_inc_spellhook"
void main()
{
object oTarget = GetSpellTargetObject();
effect eDur = EffectVisualEffect(VFX_IMP_AC_BONUS);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eDur, oTarget, RoundsToSeconds(40));
SetLocalInt(OBJECT_SELF, "archmage_mastery_elements", DAMAGE_TYPE_COLD);
FloatingTextStringOnCreature("Mastery of Elements: Spells damage to cold.", OBJECT_SELF, FALSE);
}