2025/05/06 Update

Aura of Triumph is a Touch spell.
Torch & Shuriken are monk weapons.
Expansion, Compression, etc should affect unarmed damage.
Swordsage gets no AC bonus in robes. (Stupid but RAW).
Treewalk now uses the point & click dimension door.
This commit is contained in:
Jaysyn904 2025-05-06 15:51:43 -04:00
parent 46c50ae362
commit c0239d02f1
7 changed files with 55 additions and 11 deletions

View File

@ -15831,7 +15831,7 @@
15827 Crusader_ZephyrDance 16837043 im_ZephyrDance V P 0 0x03 0x3E tob_CRU_generic **** **** **** **** **** **** 3 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829840 0 **** **** **** 8027 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
15828 Crusader_AuraOfChaos 16837044 im_AuraChaos A P 0 0x01 0x09 tob_CRU_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829842 0 **** **** **** 8028 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
15829 Crusader_AuraOfPerfectOrder 16837045 im_AuraOrder A P 0 0x01 0x09 tob_CRU_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829844 0 **** **** **** 8029 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
15830 Crusader_AuraOfTriumph 16837046 im_AuraTriumph A P 0 0x01 0x09 tob_CRU_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829846 0 **** **** **** 8030 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
15830 Crusader_AuraOfTriumph 16837046 im_AuraTriumph A T 0 0x01 0x09 tob_CRU_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829846 0 **** **** **** 8030 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
15831 Crusader_AuraOfTyranny 16837047 im_AuraTyranny A P 0 0x01 0x09 tob_CRU_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829848 0 **** **** **** 8031 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
15832 Crusader_CastigatingStrike 16837048 im_CastigStrike A T 0 0x02 0x0a tob_CRU_generic **** **** **** **** **** **** 7 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 5 **** 2 16829850 0 **** **** **** 8032 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
15833 Crusader_CrusadersStrike 16837049 im_CrusdrStrike A T 0 0x02 0x0a tob_CRU_generic **** **** **** **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 5 **** 2 16829852 0 **** **** **** 8033 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
@ -16042,7 +16042,7 @@
16038 Swordsage_ZephyrDance 16837254 im_ZephyrDance V P 0 0x03 0x3E tob_SWD_generic **** **** **** **** **** **** 3 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829840 0 **** **** **** 8235 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16039 Swordsage_AuraOfChaos 16837255 im_AuraChaos A P 0 0x01 0x09 tob_SWD_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829842 0 **** **** **** 8236 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16040 Swordsage_AuraOfPerfectOrder 16837256 im_AuraOrder A P 0 0x01 0x09 tob_SWD_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829844 0 **** **** **** 8237 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16041 Swordsage_AuraOfTriumph 16837257 im_AuraTriumph A P 0 0x01 0x09 tob_SWD_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829846 0 **** **** **** 8238 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16041 Swordsage_AuraOfTriumph 16837257 im_AuraTriumph A T 0 0x01 0x09 tob_SWD_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829846 0 **** **** **** 8238 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16042 Swordsage_AuraOfTyranny 16837258 im_AuraTyranny A P 0 0x01 0x09 tob_SWD_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829848 0 **** **** **** 8239 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16043 Swordsage_CastigatingStrike 16837259 im_CastigStrike A T 0 0x02 0x0a tob_SWD_generic **** **** **** **** **** **** 7 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 5 **** 2 16829850 0 **** **** **** 8240 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16044 Swordsage_CrusadersStrike 16837260 im_CrusdrStrike A T 0 0x02 0x0a tob_SWD_generic **** **** **** **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 5 **** 2 16829852 0 **** **** **** 8241 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
@ -16253,7 +16253,7 @@
16249 Warblade_ZephyrDance 16837465 im_ZephyrDance V P 0 0x03 0x3E tob_WAR_generic **** **** **** **** **** **** 3 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829840 0 **** **** **** 8443 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16250 Warblade_AuraOfChaos 16837466 im_AuraChaos A P 0 0x01 0x09 tob_WAR_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829842 0 **** **** **** 8444 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16251 Warblade_AuraOfPerfectOrder 16837467 im_AuraOrder A P 0 0x01 0x09 tob_WAR_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829844 0 **** **** **** 8445 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16252 Warblade_AuraOfTriumph 16837468 im_AuraTriumph A P 0 0x01 0x09 tob_WAR_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829846 0 **** **** **** 8446 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16252 Warblade_AuraOfTriumph 16837468 im_AuraTriumph A T 0 0x01 0x09 tob_WAR_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829846 0 **** **** **** 8446 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16253 Warblade_AuraOfTyranny 16837469 im_AuraTyranny A P 0 0x01 0x09 tob_WAR_generic **** **** **** **** **** **** 6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 11 **** 2 16829848 0 **** **** **** 8447 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16254 Warblade_CastigatingStrike 16837470 im_CastigStrike A T 0 0x02 0x0a tob_WAR_generic **** **** **** **** **** **** 7 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 5 **** 2 16829850 0 **** **** **** 8448 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
16255 Warblade_CrusadersStrike 16837471 im_CrusdrStrike A T 0 0x02 0x0a tob_WAR_generic **** **** **** **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 5 **** 2 16829852 0 **** **** **** 8449 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****

View File

@ -1163,6 +1163,8 @@ int GetIsMonkWeaponTypeOrUnarmed(int iWeaponType)
return ( iWeaponType == BASE_ITEM_INVALID
|| iWeaponType == BASE_ITEM_KAMA
|| iWeaponType == BASE_ITEM_SAI
|| iWeaponType == BASE_ITEM_TORCH
|| iWeaponType == BASE_ITEM_SHURIKEN
|| iWeaponType == BASE_ITEM_NUNCHAKU
);
}

View File

@ -306,6 +306,20 @@ int FindUnarmedDamage(object oCreature)
// For Initiate of Draconic Mysteries
if (GetHasFeat(FEAT_INCREASE_DAMAGE2, oCreature)) iDieIncrease = 2;
else if (GetHasFeat(FEAT_INCREASE_DAMAGE1, oCreature)) iDieIncrease = 1;
//:: Expansion / Compression powers
int nExpansion = GetLocalInt(oCreature, "PRC_Power_Expansion_SizeIncrease");
int nCompression = GetLocalInt(oCreature, "PRC_Power_Compression_SizeReduction");
if (nExpansion)
{
iSize += nExpansion;
}
if (nCompression)
{
iSize -= nCompression;
}
iMonkDamage += iDieIncrease;
iShouDamage += iDieIncrease;
@ -572,3 +586,5 @@ float DamageAvg(int iDamage)
return IntToFloat(iNum * (iDie+1)) / 2;
}
//:: void main (){}

View File

@ -93,6 +93,10 @@ void main()
{
SetCompositeBonus(oSkin, "SwordsageACBonus", GetAbilityModifier(ABILITY_WISDOM, oPC), ITEM_PROPERTY_AC_BONUS);
}
else
{
SetCompositeBonus(oSkin, "SwordsageACBonus", 0, ITEM_PROPERTY_AC_BONUS);
}
SwordSageDisciplineWeaponFocus(oPC);
}

View File

@ -92,7 +92,7 @@ void main()
float fDuration = (manif.nTimesAugOptUsed_2 == 1 ? 600.0f : 6.0f) * manif.nManifesterLevel;
if(manif.bExtend) fDuration *= 2;
// Fail to do anything if the target is already under the effects of Compression
// Fail to do anything if the target is already under the effects of Expansion
if(GetLocalInt(oTarget, "PRC_Power_Expansion_SizeIncrease"))
{
// "Target is already under effect of the Expansion power!"

View File

@ -36,21 +36,45 @@
#include "spinc_dimdoor"
void main()
{
/* Main spellscript */
object oCaster = OBJECT_SELF;
// Only proceed if the area is outdoors and natural
object oArea = GetArea(oCaster);
if (GetIsAreaInterior(oArea) || !GetIsAreaNatural(oArea))
{
// Optional: feedback to player
SendMessageToPC(oCaster, "This spell can only be used outdoors in natural environments.");
return;
}
int nCasterLvl = GetHitDice(oCaster);
int nSpellID = PRCGetSpellId();
int bUseDirDist = nSpellID == SPELL_FORESTLORD_TREEWALK_DIRDIST;
SetLocalInt(oCaster, "Treewalk", TRUE);
DimensionDoor(oCaster, nCasterLvl, nSpellID, "", DIMENSIONDOOR_SELF);
DelayCommand(10.1, DeleteLocalInt(oCaster, "Treewalk"));
}
/* void main()
{
//:: Main spellscript
object oCaster = OBJECT_SELF;
int nCasterLvl = GetHitDice(oCaster);
int nSpellID = PRCGetSpellId();
int bUseDirDist = nSpellID == SPELL_FORESTLORD_TREEWALK_DIRDIST;
SetLocalInt(oCaster, "Treewalk", TRUE);
DimensionDoor(oCaster, nCasterLvl, nSpellID, "", DIMENSIONDOOR_SELF, bUseDirDist);
DimensionDoor(oCaster, nCasterLvl, nSpellID, "", DIMENSIONDOOR_SELF);
DelayCommand(10.1, DeleteLocalInt(oCaster, "Treewalk"));
}
} */

View File

@ -90,6 +90,4 @@ void main()
SetMaxHenchmen(nMaxHenchmen);
PRCSetSchool();
}
}