PRC8/nwn/nwnprc/trunk/newspellbook/moi_mld_thftglvs.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

37 lines
1.8 KiB
Plaintext

/*
12/1/20 by Stratovarius
Theft Gloves
Descriptors: None
Classes: Incarnate
Chakra: Hands
Saving Throw: None
You shape incarnum into a pair of supple black leather gloves that fit over your hands as well as any other gloves or gauntlets you might wear. Despite the material covering your fingertips, the gloves grant you exacting precision in certain tasks—those that typically relate to thievery.
While you have theft gloves shaped, you gain a +2 insight bonus on Disable Device, Open Lock, and Pick Pocket checks.
Essentia: Every point of essentia you invest in your theft gloves increases the insight bonus by 2.
Chakra Bind (Hands)
Instead of physical gloves, your theft gloves manifest as a dusky blue color over the skin of your hands. In addition to great precision, you also find your fingertips tremendously sensitive, and they seem to tingle when you run them over something that carries a trap.
You gain the trapfinding ability.
*/
#include "moi_inc_moifunc"
void main()
{
object oMeldshaper = PRCGetSpellTargetObject();
int nEssentia = GetEssentiaInvested(oMeldshaper);
int nBonus = 2+(nEssentia*2);
effect eLink = EffectLinkEffects(EffectSkillIncrease(SKILL_OPEN_LOCK, nBonus), EffectSkillIncrease(SKILL_DISABLE_TRAP, nBonus));
eLink = EffectLinkEffects(eLink, EffectSkillIncrease(SKILL_PICK_POCKET, nBonus));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, SupernaturalEffect(eLink), oMeldshaper, 9999.0);
IPSafeAddItemProperty(GetPCSkin(oMeldshaper), ItemPropertyBonusFeat(IP_CONST_MELD_THEFT_GLOVES), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
if (GetIsMeldBound(oMeldshaper) == CHAKRA_HANDS) IPSafeAddItemProperty(GetPCSkin(oMeldshaper), ItemPropertyBonusFeat(IP_CONST_FEAT_TRAPFINDING), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
}