Further file organization
Further file organization
This commit is contained in:
22
nwn/nwnprc/trunk/scripts/prc_ootbi_gwfcs.nss
Normal file
22
nwn/nwnprc/trunk/scripts/prc_ootbi_gwfcs.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Order of the Bow Initiate Damage/Attack
|
||||
//:: prc_ootbi_gwfcs.nss
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Applies Order of the Bow Initiate Bonuses by using
|
||||
//:: ActionCastSpellOnSelf
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "prc_inc_spells"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = PRCGetSpellTargetObject();
|
||||
object oWeap = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
|
||||
|
||||
effect eAtk = EffectAttackIncrease(1);
|
||||
effect eLink = ExtraordinaryEffect(eAtk);
|
||||
|
||||
PRCRemoveEffectsFromSpell(oPC, GetSpellId());
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLink, oPC);
|
||||
}
|
Reference in New Issue
Block a user