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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user