Exalted update

Updated Vow of Poverty. Added Sanctify Ki Strike, Holy Strike, Fist of Heavens, Vow of Abstinence, Vow of Chastity & Gift of Faith.  (@fenac).  Turned off the Taunt & Parry skills.  Re-disabled AC & save bonuses from Tumble & Spellcraft.   Updated min() & max() to PRCmin() & PRCmax() to not conflict with similarly named NUI adjacent functions.  Set Point Blank Shot to 30' per PnP.  Added icon for Chosen of Evil.  Started work on Hidden Talent.  Created Psionics function cheatsheet.  Updated release archive.
This commit is contained in:
Jaysyn904
2025-01-29 22:46:38 -05:00
parent 370b29e917
commit e641b42f84
209 changed files with 1893 additions and 926 deletions

View File

@@ -16,7 +16,7 @@
void main()
{
object oPC = OBJECT_SELF;
int nDice = min(20, PRCGetCasterLevel(oPC) * 2);
int nDice = PRCMin(20, PRCGetCasterLevel(oPC) * 2);
location lLoc = GetLocation(oPC);
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_STRIKE_HOLY), lLoc);
object oTarget = MyFirstObjectInShape(SHAPE_SPHERE, FeetToMeters(20), lLoc, FALSE, OBJECT_TYPE_CREATURE);

View File

@@ -67,7 +67,7 @@ void main()
}
//GetEffectDurationRemaining returns seconds, need rounds
int nDice = nEffectDurationRemaining / 6;
int nDam = d4(min(15, nDice));
int nDam = d4(PRCMin(15, nDice));
//Do the AoE
object oTarget = MyFirstObjectInShape(SHAPE_SPHERE,FeetToMeters(60.0), lLoc);

View File

@@ -49,7 +49,7 @@ void main()
int nTargetAlignGE;
int nTargetAlignLC;
int nDam;
int nLevels = min(10, nCasterLvl);
int nLevels = PRCMin(10, nCasterLvl);
float fRadius = FeetToMeters(10);
SPApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_HOWL_WAR_CRY), oPC);

View File

@@ -48,7 +48,7 @@ void main()
if (GetIsObjectValid(oWeapon))
{
int nBonus = min(nCasterLvl, 15)/3;
int nBonus = PRCMin(nCasterLvl, 15)/3;
//Simulating lawful as +3, so give +3 enhancement and penalty to damage and hit to offset
if(nBonus == 1)

View File

@@ -38,7 +38,7 @@ void main()
int nCasterLvl = PRCGetCasterLevel(oCreator);
float fDur = HoursToSeconds(nCasterLvl)/6;
object oTarget = GetEnteringObject();
int nBonus = min(10, nCasterLvl);
int nBonus = PRCMin(10, nCasterLvl);
if(GetFactionEqual(oCreator))
{

View File

@@ -50,8 +50,8 @@ void main()
if (nSpell == SPELL_CURSE_BRUTE_CON) nAbilBuff = ABILITY_CONSTITUTION;
//Get maximum bonus without lowering either stat below 3
int nBonus = min(GetAbilityScore(oTarget, ABILITY_CHARISMA), GetAbilityScore(oTarget, ABILITY_INTELLIGENCE)) - 3;
nBonus = min(nCasterLvl, nBonus);
int nBonus = PRCMin(GetAbilityScore(oTarget, ABILITY_CHARISMA), GetAbilityScore(oTarget, ABILITY_INTELLIGENCE)) - 3;
nBonus = PRCMin(nCasterLvl, nBonus);
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectAbilityIncrease(nAbilBuff, nBonus), oTarget, fDur);
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectAbilityDecrease(ABILITY_INTELLIGENCE, nBonus), oTarget, fDur);

View File

@@ -47,7 +47,7 @@ void main()
if (nSpell == SPELL_ESTANAS_STEW)
{
object oItem = CreateItemOnObject("prc_estanasstew", oPC, 1);
int nServings = min(5, (nCasterLvl/2));
int nServings = PRCMin(5, (nCasterLvl/2));
SetItemCharges(oItem, nServings);
}

View File

@@ -36,7 +36,7 @@ void main()
float fDur = 60*(nCasterLvl);
int nMetaMagic = PRCGetMetaMagicFeat();
if(nMetaMagic & METAMAGIC_EXTEND) fDur += fDur;
int nHP = min(50, nCasterLvl * 5);
int nHP = PRCMin(50, nCasterLvl * 5);
effect eBuff = EffectAbilityIncrease(ABILITY_STRENGTH, 4);
effect eHP = EffectTemporaryHitpoints(nHP);

View File

@@ -60,7 +60,7 @@ void main()
float fDur = 60.0f * (nCasterLvl);
int nMetaMagic = PRCGetMetaMagicFeat();
if(nMetaMagic & METAMAGIC_EXTEND) fDur += fDur;
int nTargets = min(6, nCasterLvl/2);
int nTargets = PRCMin(6, nCasterLvl/2);
AllyCheck(oPC, fDur);