Further file organization
Further file organization
This commit is contained in:
24
nwn/nwnprc/trunk/newspellbook/tob_swdsg_snsmgc.nss
Normal file
24
nwn/nwnprc/trunk/newspellbook/tob_swdsg_snsmgc.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Swordsage Sense Magic.
|
||||
//::
|
||||
/*
|
||||
Identify target item.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Stratovarius
|
||||
//:: Created On: July 15, 2005
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "prc_alterations"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oItem = PRCGetSpellTargetObject();
|
||||
|
||||
// Only works on these item types
|
||||
if (IPGetIsMeleeWeapon(oItem) || GetBaseItemType(oItem) == BASE_ITEM_ARMOR || GetWeaponRanged(oItem))
|
||||
{
|
||||
SetIdentified(oItem, TRUE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user