Further file organization
Further file organization
This commit is contained in:
15
nwn/nwnprc/trunk/spells/sp_sonicorb.nss
Normal file
15
nwn/nwnprc/trunk/spells/sp_sonicorb.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#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_SONIC);
|
||||
effect eVisFail = EffectVisualEffect(VFX_IMP_BLIND_DEAF_M);
|
||||
effect eFailSave = EffectDeaf();
|
||||
|
||||
DoOrb(eVis, EffectLinkEffects(eVisFail, eFailSave),
|
||||
SAVING_THROW_TYPE_SONIC, DAMAGE_TYPE_SONIC);
|
||||
}
|
Reference in New Issue
Block a user