Expanded Shadowsmith for epic progression

Expanded Shadowsmith for epic progression.
Updated Shadowsmith's Shadow Armor for epic progression.
This commit is contained in:
Jaysyn904
2025-04-27 13:58:40 -04:00
parent 56e970adc0
commit d5f72a4165
8 changed files with 460 additions and 256 deletions

View File

@@ -10,13 +10,34 @@
02.03.19 by Stratovarius
*/
// Shadow Armor: Deflection AC bonus continues increasing at a rate of +2 per 3 epic shadowsmith levels past 10th.
#include "shd_inc_shdfunc"
void main()
{
int nClass = GetLevelByClass(CLASS_TYPE_SHADOWSMITH);
if (nClass < 4)
return; // No Armor of Shadow before 4th level
int nAC = 2;
if (nClass >= 7)
nAC = 4;
if (nClass > 10)
nAC += 2 * ((nClass - 10) / 3);
effect eDur = SupernaturalEffect(EffectLinkEffects(EffectACIncrease(nAC, AC_DEFLECTION_BONUS), EffectVisualEffect(VFX_DUR_ARMOR_OF_DARKNESS)));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eDur, OBJECT_SELF, TurnsToSeconds(nClass * 10));
}
/* void main()
{
int nArm = 2;
int nClass = GetLevelByClass(CLASS_TYPE_SHADOWSMITH);
if (nClass >= 7) nArm = 4;
effect eDur = SupernaturalEffect(EffectLinkEffects(EffectACIncrease(nArm, AC_DEFLECTION_BONUS), EffectVisualEffect(VFX_DUR_ARMOR_OF_DARKNESS)));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eDur, OBJECT_SELF, TurnsToSeconds(nClass*10));
}
} */