Further file organization
Further file organization
This commit is contained in:
30
nwn/nwnprc/trunk/scripts/prc_domain_renew.nss
Normal file
30
nwn/nwnprc/trunk/scripts/prc_domain_renew.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Renewal Domain Power
|
||||
//:: prc_domain_renew.nss
|
||||
//::///////////////////////////////////////////////
|
||||
/*
|
||||
Heals 1d8 + Charisma hit points
|
||||
Free Action
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Modified By: Stratovarius
|
||||
//:: Modified On: 19.12.2005
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "inc_newspellbook"
|
||||
#include "prc_inc_domain"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
|
||||
// Used by the uses per day check code for bonus domains
|
||||
if(!DecrementDomainUses(PRC_DOMAIN_RENEWAL, oPC)) return;
|
||||
|
||||
effect eVis = EffectVisualEffect(VFX_IMP_HEALING_M);
|
||||
effect eHeal = EffectHeal(d8() + GetAbilityModifier(ABILITY_CHARISMA, oPC));
|
||||
effect eLink = EffectLinkEffects(eVis, eHeal);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eLink, oPC);
|
||||
}
|
||||
|
Reference in New Issue
Block a user