14 lines
437 B
Plaintext
14 lines
437 B
Plaintext
#include "prc_alterations"
|
|
#include "x2_inc_spellhook"
|
|
|
|
void main()
|
|
{
|
|
object oTarget = GetSpellTargetObject();
|
|
effect eDur = EffectVisualEffect(463);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eDur, oTarget, RoundsToSeconds(1));
|
|
|
|
SetLocalInt(OBJECT_SELF, "archmage_mastery_elements", DAMAGE_TYPE_ELECTRICAL);
|
|
FloatingTextStringOnCreature("Mastery of Elements: Spells damage to electrical.", OBJECT_SELF, FALSE);
|
|
}
|