Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,34 @@
//::///////////////////////////////////////////////
//:: Shou Disciple - Martial Flurry
//:://////////////////////////////////////////////
/*
Gives and removes extra attack from PC
*/
//:://////////////////////////////////////////////
//:: Created By: Oni5115
//:: Created On: Aug 23, 2004
//:://////////////////////////////////////////////
#include "prc_inc_spells"
void main()
{
string sMes = "";
if(!GetHasSpellEffect(SPELL_MARTIAL_FLURRY_ALL) && !GetHasSpellEffect(SPELL_MARTIAL_FLURRY_LIGHT))
{
if(GetLevelByClass(CLASS_TYPE_SHOU) > 4)
ActionCastSpellOnSelf(SPELL_MARTIAL_FLURRY_ALL);
else if(GetLevelByClass(CLASS_TYPE_SHOU) > 2)
ActionCastSpellOnSelf(SPELL_MARTIAL_FLURRY_LIGHT);
}
else
{
// Removes effects
PRCRemoveEffectsFromSpell(OBJECT_SELF, SPELL_MARTIAL_FLURRY_LIGHT);
PRCRemoveEffectsFromSpell(OBJECT_SELF, SPELL_MARTIAL_FLURRY_ALL);
// Display message to player
sMes = "*Martial Flurry Deactivated*";
}
FloatingTextStringOnCreature(sMes, OBJECT_SELF, FALSE);
}