Further file organization
Further file organization
This commit is contained in:
37
nwn/nwnprc/trunk/newspellbook/bnd_vest_shaxstm.nss
Normal file
37
nwn/nwnprc/trunk/newspellbook/bnd_vest_shaxstm.nss
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
14/03/21 by Stratovarius
|
||||
|
||||
Shax, Sea Sister
|
||||
|
||||
Another giant among the vestiges, Shax gives her summoners the ability to laugh off lightning, to wriggle free of any bonds, and to strike foes like a thunderbolt.
|
||||
|
||||
Vestige Level: 6th
|
||||
Binding DC: 26
|
||||
Special Requirement: No
|
||||
|
||||
Influence: While under Shax<61>s influence, you become possessive and stingy, particularly about territory<72>be it actual land or simply a room in an inn. In addition,
|
||||
her influence requires you to demand compensation for any service rendered and to tax any use of your territory. However, you can accept nearly any item of value<75>be it material goods or a service<63>as payment.
|
||||
|
||||
Granted Abilities:
|
||||
Shax grants you the ability to strike foes with sonic force and electricity. She also gives you immunity to electricity and allows you to move freely despite restraints.
|
||||
|
||||
Freedom of Movement: As a swift action, you can give yourself the ability to ignore restraints. This effect functions like the freedom of movement spell, except that it
|
||||
lasts only 1 round. Once you have used this ability, you cannot do so again for 5 rounds.
|
||||
|
||||
Immunity to Electricity: You gain immunity to electricity damage.
|
||||
|
||||
Storm Strike: As a swift action, you can charge a melee attack or melee touch attack with electricity and sonic power. Your next melee attack deals an extra 1d6 points of electricity damage and 1d6 points of sonic damage.
|
||||
*/
|
||||
|
||||
#include "bnd_inc_bndfunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oBinder = OBJECT_SELF;
|
||||
if(!TakeSwiftAction(oBinder)) return;
|
||||
|
||||
// The OnHit
|
||||
object oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oBinder);
|
||||
IPSafeAddItemProperty(oItem, ItemPropertyOnHitCastSpell(IP_CONST_ONHIT_CASTSPELL_ONHIT_UNIQUEPOWER, 1), 6.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);
|
||||
AddEventScript(oItem, EVENT_ITEM_ONHIT, "bnd_events", FALSE, FALSE);
|
||||
}
|
Reference in New Issue
Block a user