2025/06/21 Update

Update NUI spellbook notes.
Magic staves are quarterstaves.
Champion of Torm & Eldritch Knight were missing a fighter bonus feat.
Added an entry for Risen Reunited in epicspells.2da.
Fixed icon for ImpCrit Goad.
Unseen Seen & Ult. Magus's spellcasting marker feats names were swapped.
Added more sanity checking to Luminous Armor.
Updated Warforged & Warforged Chargers descriptions.
Enlightened Fist requires Arcane CL 2 not 2nd Circle spells.
No such thing as Luck AC in NWN.
Added sanity check for Blackguard's Aura.
Updated NUI spellcasting menu.
This commit is contained in:
Jaysyn904
2025-06-20 18:52:50 -04:00
parent 797442d3da
commit 6b1d73cbfb
29 changed files with 1054 additions and 991 deletions

View File

@@ -141,11 +141,19 @@ void main()
}
else if(nEvent == EVENT_ONHEARTBEAT)
{
object oArmour = GetItemInSlot(INVENTORY_SLOT_CHEST, oPC);
if (GetBaseAC(oArmour) > 0)
if(GetHasSpellEffect(SPELL_LUMINOUS_ARMOR, oPC) || GetHasSpellEffect(SPELL_GREATER_LUMINOUS_ARMOR, oPC))
{
ForceUnequip(oPC, oArmour, INVENTORY_SLOT_CHEST);
SendMessageToPC(oPC, "You cannot wear armor while under the effects of Luminous Armour");
}
object oArmour = GetItemInSlot(INVENTORY_SLOT_CHEST, oPC);
if (GetBaseAC(oArmour) > 0)
{
ForceUnequip(oPC, oArmour, INVENTORY_SLOT_CHEST);
SendMessageToPC(oPC, "You cannot wear armor while under the effects of Luminous Armour");
}
}
else
{
PRCRemoveEffectsFromSpell(oPC, SPELL_LUMINOUS_ARMOR);
PRCRemoveEffectsFromSpell(oPC, SPELL_GREATER_LUMINOUS_ARMOR);
}
}
}