2025/06/10 afternoon update
Fixed incorrect action for Sublime Chord songs. Hopefully fixed Factotum Inspiration not accumulating after logging back in. Hopefully fixed Archmage SLA ability from grabbing wrong spell level for spell radials. Bluesteel Bracer script now add itself and not Bloodwar Bracers. Fixed Pearl of Black Doubt as good as NWN will allow. Fixed Diamond Dragon level up blocker.
This commit is contained in:
@@ -393,7 +393,18 @@ void main()
|
||||
if(GetHasSpellEffect(MOVE_DM_PEARL_BLACK_DOUBT, oSpellOrigin) && GetBaseItemType(oItem) == BASE_ITEM_ARMOR)
|
||||
{
|
||||
// Will reset to 0.
|
||||
DeleteLocalInt(oSpellOrigin, "PearlOfBlackDoubtBonus");
|
||||
effect eEffect = GetFirstEffect(oSpellOrigin);
|
||||
while(GetIsEffectValid(eEffect))
|
||||
{
|
||||
if(GetEffectTag(eEffect) == "PEARL_OF_BLACK_DOUBT_BONUS")
|
||||
{
|
||||
if(DEBUG) DoDebug("prc_onhit: PoBD onHit >> restting AC.");
|
||||
DeleteLocalInt(oSpellOrigin, "PearlOfBlackDoubtBonus");
|
||||
RemoveEffect(oSpellOrigin, eEffect);
|
||||
}
|
||||
eEffect = GetNextEffect(oSpellOrigin);
|
||||
}
|
||||
|
||||
}
|
||||
// Tactics of the Wolf
|
||||
if(GetHasSpellEffect(MOVE_WR_TACTICS_WOLF, oSpellOrigin) && GetBaseItemType(oItem) != BASE_ITEM_ARMOR)
|
||||
|
Reference in New Issue
Block a user