All pastes #14051 Raw Edit

Ornedan

public c v1 · immutable
#14051 ·published 2005-06-12 13:38 UTC
rendered paste body
//:://///////////////////////////////////////////////:: [Fast Healing Feats]//:: [script_name_here.nss]//::////////////////////////////////////////////////:: Grants a creature with the fast Healing feats //:: the appropriate regeneration.//::////////////////////////////////////////////////:: Created By: Silver//:: Created On: June 8, 2005//:://////////////////////////////////////////////#include "inc_item_props"#include "prc_feat_const"void main(){    //Declare main variables.    object oPC = OBJECT_SELF;    object oSkin = GetPCSkin(oPC);    int nFHeal = GetHasFeat(FAST_HEALING_3,oPC) ? 9 :                 GetHasFeat(FAST_HEALING_2,oPC) ? 6 :                 GetHasFeat(FAST_HEALING_1,oPC) ? 3 :                 -1;    SetCompositeBonus(oSkin, "DragonDisciple_FastHealing", nFHeal, ITEM_PROPERTY_REGENERATION);}