Clear out experimental .35 files

Clear out experimental .35 files
This commit is contained in:
Jaysyn904
2024-02-11 13:04:14 -05:00
parent 2112b92e24
commit 618cd42b82
22356 changed files with 0 additions and 1248956 deletions

View File

@@ -1,79 +0,0 @@
//::///////////////////////////////////////////////
//:: Snowflake Wardance
//:: prc_snowflake.nss
//:://////////////////////////////////////////////
/*
By expending one of your daily uses of bardic music,
you may perform a deadly style of combat known as
the snowflake wardance. Activating a snowflake
wardance is a free action, and once activated, you
add your Charisma modifier to your attack rolls with
any slashing melee weapon you wield in one hand. This
bonus to hit stacks with any bonuses you get from a
high Strength score (or Dexterity score, if you are
using Weapon Finesse). You cannot use this feat if
you are carrying a shield, wearing medium or heavy
armor, or carrying a medium or heavy load. A snowflake
wardance lasts for a number of rounds equal to your
ranks in Perform. Performing a snowflake wardance is
physically tiresome <20> when the snowflake wardance ends,
you become fatigued for the next 10 minutes.
*/
//:://////////////////////////////////////////////
//:: Created By: Stratovarius
//:: Created On: Oct 30, 2018
//:://////////////////////////////////////////////
#include "prc_alterations"
int GetIsOnehandedSlashingWeapon(object oWeapon)
{
if (GetBaseItemType(oWeapon) == BASE_ITEM_LONGSWORD ||
GetBaseItemType(oWeapon) == BASE_ITEM_BATTLEAXE ||
GetBaseItemType(oWeapon) == BASE_ITEM_HANDAXE ||
GetBaseItemType(oWeapon) == BASE_ITEM_KAMA ||
GetBaseItemType(oWeapon) == BASE_ITEM_KUKRI ||
GetBaseItemType(oWeapon) == BASE_ITEM_SCIMITAR ||
GetBaseItemType(oWeapon) == BASE_ITEM_BASTARDSWORD ||
GetBaseItemType(oWeapon) == BASE_ITEM_SICKLE ||
GetBaseItemType(oWeapon) == BASE_ITEM_KATANA ||
GetBaseItemType(oWeapon) == BASE_ITEM_WHIP ||
GetBaseItemType(oWeapon) == BASE_ITEM_EAGLE_CLAW ||
GetBaseItemType(oWeapon) == BASE_ITEM_DWARVENWARAXE)
{
return TRUE;
}
return FALSE;
}
void main()
{
object oPC = OBJECT_SELF;
if (PRCGetHasEffect(EFFECT_TYPE_SILENCE,oPC))
{
FloatingTextStrRefOnCreature(85764,oPC); // not useable when silenced
return;
}
else if (!GetHasFeat(FEAT_BARD_SONGS, oPC))
{
//SpeakStringByStrRef(40550);
FloatingTextStringOnCreature("You have no bardic music uses left", oPC, FALSE);
return;
}
else
{
object oWeapon = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
object oLefthand = GetItemInSlot(INVENTORY_SLOT_LEFTHAND, oPC);
object oArmor = GetItemInSlot(INVENTORY_SLOT_CHEST, oPC);
if(4 > GetBaseAC(oArmor) && !GetIsObjectValid(oLefthand) && GetIsOnehandedSlashingWeapon(oWeapon))
{
DecrementRemainingFeatUses(oPC, FEAT_BARD_SONGS);
float fDur = RoundsToSeconds(GetSkillRank(SKILL_PERFORM, oPC, TRUE));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, ExtraordinaryEffect(EffectAttackIncrease(GetAbilityModifier(ABILITY_CHARISMA, oPC))), oPC, fDur);
DelayCommand(fDur, ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectFatigue(), oPC, 600.0));
}
}
}