PRC8/nwn/trunk/scripts/prc_iaijutsu_cut.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

19 lines
566 B
Plaintext

#include "prc_effect_inc"
void main()
{
object oPC = OBJECT_SELF;
if(!GetHasSpellEffect(SPELL_ONE_STRIKE_TWO_CUTS, oPC))
{
effect eAttack = SupernaturalEffect(EffectModifyAttacks(1));
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eAttack, oPC);
FloatingTextStringOnCreature("One Strike Two Cuts", oPC, FALSE);
}
else
{
// The code to cancel the effects
PRCRemoveSpellEffects(SPELL_ONE_STRIKE_TWO_CUTS, oPC, oPC);
FloatingTextStringOnCreature("One Strike Two Cuts Removed", oPC, FALSE);
}
}