Updated AMS marker feats

Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-02-11 14:01:05 -05:00
parent 618cd42b82
commit 6ec137a24e
24762 changed files with 1528530 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
//::///////////////////////////////////////////////
//:: Dragonfire Adept
//:: inv_drgnfireadpt.nss
//::///////////////////////////////////////////////
/*
Handles the passive bonuses for Dragonfire Adepts
*/
//:://////////////////////////////////////////////
//:: Created By: Fox
//:: Created On: Jan 24, 2007
//:://////////////////////////////////////////////
#include "prc_class_const"
#include "inc_item_props"
void main()
{
int nClass = GetLevelByClass(CLASS_TYPE_DRAGONFIRE_ADEPT);
int nScales = (nClass + 8) / 5;
if(nScales > 1)
SetCompositeBonus(GetPCSkin(OBJECT_SELF), "DFA_AC", nScales, ITEM_PROPERTY_AC_BONUS);
//Reduction
if(nClass > 5)
{
effect eReduction;
if(nClass > 35) eReduction = EffectDamageReduction(10, DAMAGE_POWER_PLUS_FIVE);
else if(nClass > 25) eReduction = EffectDamageReduction(7, DAMAGE_POWER_PLUS_FIVE);
else if(nClass > 15) eReduction = EffectDamageReduction(5, DAMAGE_POWER_PLUS_ONE);
else eReduction = EffectDamageReduction(2, DAMAGE_POWER_PLUS_ONE);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, ExtraordinaryEffect(eReduction), OBJECT_SELF);
}
}