mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-19 05:27:14 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
24
trunk/newspellbook/tob_swdsg_snsmgc.nss
Normal file
24
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