2026/03/11 Update
Fixed Expeditious Retreat's duration. Fixed Avariel's dive with weapons that have multiple damage types. Hybsil's description now points to the right TLK entry. Fixed Dragon Cloud's creature weapons & stats. Stone Power shouldn't delete all of you spell effects. Stone Power should be a prereq for Deepstone Sentinel. GetMaxSpellLevelForCasterLevel() should work with newspellbook spells. Barbarian Rage should be an instant feat. Added BAB 2 req to several PrCs to prevent a Bioware bug where they are available in chargen.
This commit is contained in:
@@ -24,6 +24,8 @@ Created: 11.11.2018
|
||||
void main()
|
||||
{
|
||||
int nEvent = GetRunningEvent();
|
||||
int nSpellId = PRCGetSpellId();
|
||||
|
||||
if(DEBUG) DoDebug("tob_ft_stnpwr running, event: " + IntToString(nEvent));
|
||||
object oInitiator = OBJECT_SELF;
|
||||
|
||||
@@ -50,7 +52,7 @@ void main()
|
||||
else if(nEvent == EVENT_ONHEARTBEAT)
|
||||
{
|
||||
// No Stacking
|
||||
PRCRemoveSpellEffects(GetSpellId(), oInitiator, oInitiator);
|
||||
PRCRemoveSpellEffects(nSpellId, oInitiator, oInitiator);
|
||||
// Skip applying effects if nothing to apply
|
||||
int nSwitch = GetLocalInt(oInitiator, "StonePowerSwitch");
|
||||
if (nSwitch == 0) return;
|
||||
|
||||
Reference in New Issue
Block a user