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:
@@ -313,6 +313,8 @@ int HotWMFeats()
|
||||
{
|
||||
int nHotWM = GetLevelByClass(CLASS_TYPE_HANDOTWM);
|
||||
|
||||
if(nHotWM < 1) return FALSE;
|
||||
|
||||
if (nHotWM > 30)
|
||||
{
|
||||
nHotWM = 30;
|
||||
@@ -353,11 +355,15 @@ int HotWMFeats()
|
||||
|
||||
int DiamondDragonFeats()
|
||||
{
|
||||
int iDiamond = (GetLevelByClass(CLASS_TYPE_DIAMOND_DRAGON) + 5) / 5;
|
||||
int iDiamond = GetLevelByClass(CLASS_TYPE_DIAMOND_DRAGON);
|
||||
|
||||
if(iDiamond < 1) return FALSE;
|
||||
|
||||
int nCount = (iDiamond + 5) / 5;
|
||||
|
||||
if(iDiamond)
|
||||
if(nCount)
|
||||
{
|
||||
int iAugments = GetHasFeat(FEAT_DRAGON_AUGMENT_STR_1)
|
||||
int iAugments = GetHasFeat(FEAT_DRAGON_AUGMENT_STR_1)
|
||||
+ GetHasFeat(FEAT_DRAGON_AUGMENT_STR_2)
|
||||
+ GetHasFeat(FEAT_DRAGON_AUGMENT_STR_3)
|
||||
+ GetHasFeat(FEAT_DRAGON_AUGMENT_STR_4)
|
||||
@@ -385,10 +391,9 @@ int DiamondDragonFeats()
|
||||
+ GetHasFeat(FEAT_DRAGON_AUGMENT_CON_8)
|
||||
+ GetHasFeat(FEAT_DRAGON_AUGMENT_CON_9);
|
||||
|
||||
|
||||
if(iDiamond != iAugments)
|
||||
if(nCount != iAugments)
|
||||
{
|
||||
FloatingTextStringOnCreature("You must pick a Diamond Dragon Ability Augment. Please reslect your feats.", OBJECT_SELF, FALSE);
|
||||
FloatingTextStringOnCreature("You must pick a Diamond Dragon Ability Augment. Please reselect your feats.", OBJECT_SELF, FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
@@ -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