Files
35expandedabilities
35expandedspells
disease.2da
magias alteradas.txt
nw_s0_aid.ncs
nw_s0_aid.nss
nw_s0_awaken.ncs
nw_s0_awaken.nss
nw_s0_barkskin.ncs
nw_s0_barkskin.nss
nw_s0_bladebara.ncs
nw_s0_bladebara.nss
nw_s0_bladebarc.ncs
nw_s0_bladebarc.nss
nw_s0_burnhand.ncs
nw_s0_burnhand.nss
nw_s0_calllghtn.ncs
nw_s0_calllghtn.nss
nw_s0_chlightn.ncs
nw_s0_chlightn.nss
nw_s0_circdeath.ncs
nw_s0_circdeath.nss
nw_s0_cloudkilla.ncs
nw_s0_cloudkilla.nss
nw_s0_cloudkillc.ncs
nw_s0_cloudkillc.nss
nw_s0_colspray.ncs
nw_s0_colspray.nss
nw_s0_conecold.ncs
nw_s0_conecold.nss
nw_s0_daze.ncs
nw_s0_daze.nss
nw_s0_delfirea.ncs
nw_s0_delfirea.nss
nw_s0_destruc.ncs
nw_s0_destruc.nss
nw_s0_dismagic.ncs
nw_s0_dismagic.nss
nw_s0_enedrain.ncs
nw_s0_enedrain.nss
nw_s0_enervat.ncs
nw_s0_enervat.nss
nw_s0_fireball.ncs
nw_s0_fireball.nss
nw_s0_firestrm.ncs
nw_s0_firestrm.nss
nw_s0_flmstrike.ncs
nw_s0_flmstrike.nss
nw_s0_grdispel.ncs
nw_s0_grdispel.nss
nw_s0_hammgods.ncs
nw_s0_hammgods.nss
nw_s0_healcirc.ncs
nw_s0_healcirc.nss
nw_s0_healharm.ncs
nw_s0_healharm.nss
nw_s0_horrwilt.ncs
nw_s0_horrwilt.nss
nw_s0_imprinvis.ncs
nw_s0_imprinvis.nss
nw_s0_incclouda.ncs
nw_s0_incclouda.nss
nw_s0_inccloudc.ncs
nw_s0_inccloudc.nss
nw_s0_lghtnbolt.ncs
nw_s0_lghtnbolt.nss
nw_s0_magmiss.ncs
nw_s0_magmiss.nss
nw_s0_metswarm.ncs
nw_s0_metswarm.nss
nw_s0_phankill.ncs
nw_s0_phankill.nss
nw_s0_pwstun.ncs
nw_s0_pwstun.nss
nw_s0_rayfrost.ncs
nw_s0_rayfrost.nss
nw_s0_regen.ncs
nw_s0_regen.nss
nw_s0_sanctuary.ncs
nw_s0_sanctuary.nss
nw_s0_searlght.ncs
nw_s0_searlght.nss
nw_s0_shadshld.ncs
nw_s0_shadshld.nss
nw_s0_sleep.ncs
nw_s0_sleep.nss
nw_s0_sndburst.ncs
nw_s0_sndburst.nss
nw_s0_spmantle.ncs
nw_s0_spmantle.nss
nw_s0_stormvenc.ncs
nw_s0_stormvenc.nss
nw_s0_sunbeam.ncs
nw_s0_sunbeam.nss
nw_s0_vamptch.ncs
nw_s0_vamptch.nss
nw_s0_virtue.ncs
nw_s0_virtue.nss
nw_s0_wallfirea.ncs
nw_s0_wallfirea.nss
nw_s0_wallfirec.ncs
nw_s0_wallfirec.nss
nw_s0_weird.ncs
nw_s0_weird.nss
nw_s0_wordfaith.ncs
nw_s0_wordfaith.nss
sp_aberrate.ncs
sp_aberrate.nss
sp_acidstorm.ncs
sp_acidstorm.nss
sp_agnazscorch.ncs
sp_agnazscorch.nss
sp_apoc_sky.ncs
sp_apoc_sky.nss
sp_armordark.ncs
sp_armordark.nss
sp_ayailla_rb.ncs
sp_ayailla_rb.nss
sp_bigby_sf.ncs
sp_bigby_sf.nss
sp_bigby_trip.ncs
sp_bigby_trip.nss
sp_blastfrc.ncs
sp_blastfrc.nss
sp_blessbahamut.ncs
sp_blessbahamut.nss
sp_blsflm.ncs
sp_blsflm.nss
sp_bolt_glory.ncs
sp_bolt_glory.nss
sp_celest_bld.ncs
sp_celest_bld.nss
sp_chaavs_lgh.ncs
sp_chaavs_lgh.nss
sp_chan_pyrob.ncs
sp_chan_pyrob.nss
sp_close_wounds.ncs
sp_close_wounds.nss
sp_cloud_achaiA.ncs
sp_cloud_achaiA.nss
sp_clutch_orcus.ncs
sp_clutch_orcus.nss
sp_curimpbl.ncs
sp_curimpbl.nss
sp_curpfail.ncs
sp_curpfail.nss
sp_damng_darkA.ncs
sp_damng_darkA.nss
sp_dancg_web.ncs
sp_dancg_web.nss
sp_darkbolt.ncs
sp_darkbolt.nss
sp_darkbolt1.ncs
sp_darkbolt1.nss
sp_deep_slumber.ncs
sp_deep_slumber.nss
sp_deflect.ncs
sp_deflect.nss
sp_dispell_tch.ncs
sp_dispell_tch.nss
sp_disrpt_undead.ncs
sp_disrpt_undead.nss
sp_divprot.ncs
sp_divprot.nss
sp_dmnd_spray.ncs
sp_dmnd_spray.nss
sp_doom_scarab.ncs
sp_doom_scarab.nss
sp_elemstrike.ncs
sp_elemstrike.nss
sp_energz_ptn.ncs
sp_energz_ptn.nss
sp_exalt_fury.ncs
sp_exalt_fury.nss
sp_exaltd_raim.ncs
sp_exaltd_raim.nss
sp_extr_wtrele.ncs
sp_extr_wtrele.nss
sp_false_life.ncs
sp_false_life.nss
sp_fester_death.ncs
sp_fester_death.nss
sp_fire_trapA.ncs
sp_fire_trapA.nss
sp_fireburst.ncs
sp_fireburst.nss
sp_flesh_armor.ncs
sp_flesh_armor.nss
sp_flesh_rip.ncs
sp_flesh_rip.nss
sp_forceblast.ncs
sp_forceblast.nss
sp_forceorb.ncs
sp_forceorb.nss
sp_gfireburst.ncs
sp_gfireburst.nss
sp_gheroism.ncs
sp_gheroism.nss
sp_gutwrench.ncs
sp_gutwrench.nss
sp_hailofstone.ncs
sp_hailofstone.nss
sp_healrbm.ncs
sp_healrbm.nss
sp_hellfire.ncs
sp_hellfire.nss
sp_heroism.ncs
sp_heroism.nss
sp_hf_storm.ncs
sp_hf_storm.nss
sp_ice_knife.ncs
sp_ice_knife.nss
sp_iceburst.ncs
sp_iceburst.nss
sp_impmagearm.ncs
sp_impmagearm.nss
sp_kelgore_fb.ncs
sp_kelgore_fb.nss
sp_lahms_fd.ncs
sp_lahms_fd.nss
sp_lconvict.ncs
sp_lconvict.nss
sp_lcurimpbl.ncs
sp_lcurimpbl.nss
sp_lcurpfail.ncs
sp_lcurpfail.nss
sp_leonl_roar.ncs
sp_leonl_roar.nss
sp_lowersr.ncs
sp_lowersr.nss
sp_lshlfat.ncs
sp_lshlfat.nss
sp_mass_frshld.ncs
sp_mass_frshld.nss
sp_nec_bloat.ncs
sp_nec_bloat.nss
sp_nec_burst.ncs
sp_nec_burst.nss
sp_nec_erupt.ncs
sp_nec_erupt.nss
sp_nec_term.ncs
sp_nec_term.nss
sp_nght_caress.ncs
sp_nght_caress.nss
sp_ot_frz_sphere.ncs
sp_ot_frz_sphere.nss
sp_panacea.ncs
sp_panacea.nss
sp_phoenix_fire.ncs
sp_phoenix_fire.nss
sp_pnp_frshld.ncs
sp_pnp_frshld.nss
sp_polar_ray.ncs
sp_polar_ray.nss
sp_prism_wallA.ncs
sp_prism_wallA.nss
sp_prismat_ray.ncs
sp_prismat_ray.nss
sp_prismt_sphrA.ncs
sp_prismt_sphrA.nss
sp_prot_arrows.ncs
sp_prot_arrows.nss
sp_rain_btul.ncs
sp_rain_btul.nss
sp_rain_ember.ncs
sp_rain_ember.nss
sp_rainbow_blast.ncs
sp_rainbow_blast.nss
sp_raptr_ruptr.ncs
sp_raptr_ruptr.nss
sp_right_smt.ncs
sp_right_smt.nss
sp_rightmt.ncs
sp_rightmt.nss
sp_ring_bldsC.ncs
sp_ring_bldsC.nss
sp_ring_bldsa.ncs
sp_ring_bldsa.nss
sp_scorch_ray.ncs
sp_scorch_ray.nss
sp_seeking_ray.ncs
sp_seeking_ray.nss
sp_seeth_eyebn.ncs
sp_seeth_eyebn.nss
sp_serp_sigh.ncs
sp_serp_sigh.nss
sp_shock_grasp.ncs
sp_shock_grasp.nss
sp_shout.ncs
sp_shout.nss
sp_shriveling.ncs
sp_shriveling.nss
sp_slash_displ.ncs
sp_slash_displ.nss
sp_slashdark.ncs
sp_slashdark.nss
sp_snsnow.ncs
sp_snsnow.nss
sp_snsnowsw.ncs
sp_snsnowsw.nss
sp_spiderskin.ncs
sp_spiderskin.nss
sp_stalagmite.ncs
sp_stalagmite.nss
sp_strm_shard.ncs
sp_strm_shard.nss
sp_sunmantle.ncs
sp_sunmantle.nss
sp_thous_ndls.ncs
sp_thous_ndls.nss
sp_touch_fatigue.ncs
sp_touch_fatigue.nss
sp_unliv_weap.ncs
sp_unliv_weap.nss
sp_wallfrosta.ncs
sp_wallfrosta.nss
sp_wallfrostc.ncs
sp_wallfrostc.nss
sp_wrtch_blght.ncs
sp_wrtch_blght.nss
x0_s0_acidsplash.ncs
x0_s0_acidsplash.nss
x0_s0_bigby2.ncs
x0_s0_bigby2.nss
x0_s0_bigby4.ncs
x0_s0_bigby4.nss
x0_s0_bigby5.ncs
x0_s0_bigby5.nss
x0_s0_bombard.ncs
x0_s0_bombard.nss
x0_s0_divfav.ncs
x0_s0_divfav.nss
x0_s0_earthquake.ncs
x0_s0_earthquake.nss
x0_s0_elecjolt.ncs
x0_s0_elecjolt.nss
x0_s0_ether.ncs
x0_s0_ether.nss
x0_s0_firebrand.ncs
x0_s0_firebrand.nss
x0_s0_flare.ncs
x0_s0_flare.nss
x0_s0_gmagicfang.ncs
x0_s0_gmagicfang.nss
x0_s0_inferno.ncs
x0_s0_inferno.nss
x0_s0_magicfang.ncs
x0_s0_magicfang.nss
x0_s0_missstorm1.ncs
x0_s0_missstorm1.nss
x0_s0_missstorm2.ncs
x0_s0_missstorm2.nss
x0_s0_quillfire.ncs
x0_s0_quillfire.nss
x0_s0_shieldfait.ncs
x0_s0_shieldfait.nss
x0_s0_spikegroen.ncs
x0_s0_spikegroen.nss
x0_s0_spikegrohb.ncs
x0_s0_spikegrohb.nss
x0_s0_sunburst.ncs
x0_s0_sunburst.nss
x2_s0_acidbrth.ncs
x2_s0_acidbrth.nss
x2_s0_acidshth.ncs
x2_s0_acidshth.nss
x2_s0_balllghtng.ncs
x2_s0_balllghtng.nss
x2_s0_combust.ncs
x2_s0_combust.nss
x2_s0_crumble.ncs
x2_s0_crumble.nss
x2_s0_cureother.ncs
x2_s0_cureother.nss
x2_s0_dtharm.ncs
x2_s0_dtharm.nss
x2_s0_elecloop.ncs
x2_s0_elecloop.nss
x2_s0_horiboom.ncs
x2_s0_horiboom.nss
x2_s0_icedagg.ncs
x2_s0_icedagg.nss
x2_s0_magcvest.ncs
x2_s0_magcvest.nss
x2_s0_scntsphere.ncs
x2_s0_scntsphere.nss
x2_s0_tidebattle.ncs
x2_s0_tidebattle.nss
x2_s0_undeath.ncs
x2_s0_undeath.nss
_haks
_module
_notes
.gitignore
Compiler - 35abilities.bat
LICENSE
README.md
PoA_PRC8/35expandedspells/sp_leonl_roar.nss

74 lines
2.0 KiB
Plaintext
Raw Normal View History

//::///////////////////////////////////////////////
//:: Name Leonal's Roar
//:: FileName sp_leonl_roar.nss
//:://////////////////////////////////////////////
/**@file Leonal's Roar
Evocation [Good, Sonic]
Level: Drd 8
Components: V
Casting Time: 1 standard action
Range: 40 ft.
Targets: Non good creatures in a 40-ft.radius spread
centered on you
Duration: Instantaneous
Saving Throw: Fortitude partial
Spell Resistance: Yes
This spell has the effect of a holy word, and it
additionally deals 2d6 points of sonic damage to
non-good creatures in the area. A successful
Fortitude saving throw negates the sonic damage,
but not the other effects of the spell.
Author: Tenjac
Created: 7/7/06
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "prc_inc_spells"
#include "prc_add_spell_dc"
void main()
{
if(!X2PreSpellCastCode()) return;
PRCSetSchool(SPELL_SCHOOL_EVOCATION);
object oPC = OBJECT_SELF;
location lLoc = PRCGetSpellTargetLocation();
object oTarget = MyFirstObjectInShape(SHAPE_SPHERE, 12.192, lLoc, TRUE, OBJECT_TYPE_CREATURE);
int nDC;
int nMetaMagic = PRCGetMetaMagicFeat();
int nDam;
int nCasterLvl = PRCGetCasterLevel(oPC);
while(GetIsObjectValid(oTarget))
{
nDC = PRCGetSaveDC(oTarget, oPC);
if(!PRCDoResistSpell(oPC, oTarget, nCasterLvl + SPGetPenetr()))
{
if(!PRCMySavingThrow(SAVING_THROW_FORT, oTarget, nDC, SAVING_THROW_TYPE_SONIC))
{
nDam = d6(nCasterLvl)+2;
if(nMetaMagic & METAMAGIC_MAXIMIZE)
{
nDam = 6*(nCasterLvl)+2;
}
if(nMetaMagic & METAMAGIC_EMPOWER)
{
nDam += (nDam/2);
}
SPApplyEffectToObject(DURATION_TYPE_INSTANT, PRCEffectDamage(oTarget, nDam, DAMAGE_TYPE_SONIC), oTarget);
}
}
oTarget = MyNextObjectInShape(SHAPE_SPHERE, 12.192, lLoc, TRUE, OBJECT_TYPE_CREATURE);
}
//Holy Word
ActionCastSpellAtLocation(SPELL_HOLY_WORD, lLoc, nMetaMagic, TRUE, PROJECTILE_PATH_TYPE_DEFAULT, TRUE);
//SPGoodShift(oPC);
}