PRC8/trunk/scripts/prc_ootbi_gwfcs.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

23 lines
664 B
Plaintext

//::///////////////////////////////////////////////
//:: 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);
}