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

@@ -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"));
}
} */