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

14 lines
443 B
Plaintext

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