PRC8_fork/trunk/spells/sp_eielec.nss

11 lines
261 B
Plaintext
Raw Normal View History

#include "prc_inc_spells"
#include "spinc_engimm"
void main()
{
// If code within the PreSpellCastHook (i.e. UMD) reports FALSE, do not run this spell
if (!X2PreSpellCastCode()) return;
DoEnergyImmunity (DAMAGE_TYPE_ELECTRICAL, VFX_IMP_LIGHTNING_M);
}