Further file organization
Further file organization
This commit is contained in:
16
nwn/nwnprc/trunk/spells/sp_coldorb.nss
Normal file
16
nwn/nwnprc/trunk/spells/sp_coldorb.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "prc_inc_spells"
|
||||
#include "spinc_orb"
|
||||
|
||||
void main()
|
||||
{
|
||||
// If code within the PreSpellCastHook (i.e. UMD) reports FALSE, do not run this spell
|
||||
if (!X2PreSpellCastCode()) return;
|
||||
|
||||
effect eVis = EffectVisualEffect(VFX_IMP_FROST_S);
|
||||
effect eVisFail = EffectVisualEffect(VFX_IMP_BLIND_DEAF_M);
|
||||
effect eFailSave = EffectBlindness();
|
||||
|
||||
DoOrb(eVis, EffectLinkEffects(eVisFail, eFailSave),
|
||||
SAVING_THROW_TYPE_COLD, DAMAGE_TYPE_COLD);
|
||||
}
|
||||
|
Reference in New Issue
Block a user