Further file organization
Further file organization
This commit is contained in:
22
nwn/nwnprc/trunk/psionics/psi_spdfthgt_oeq.nss
Normal file
22
nwn/nwnprc/trunk/psionics/psi_spdfthgt_oeq.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Speed of Thought onequip script
|
||||
//:: psi_spdfthgt_oeq
|
||||
//:://////////////////////////////////////////////
|
||||
/** @file
|
||||
Removes the Speed of Thought bonus if
|
||||
equipper equipped heavy armor.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Ornedan
|
||||
//:: Created On: 23.03.2005
|
||||
//:: Modified On: 11.07.2005
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "psi_inc_psifunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oCreature = GetItemLastEquippedBy();
|
||||
if(GetBaseAC(GetItemInSlot(INVENTORY_SLOT_CHEST, oCreature)) >= 6)
|
||||
PRCRemoveSpellEffects(SPELL_FEAT_SPEED_OF_THOUGHT_BONUS, oCreature, oCreature);
|
||||
}
|
Reference in New Issue
Block a user