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,26 +0,0 @@
#include "prc_inc_clsfunc"
void main()
{
object oPC = OBJECT_SELF;
object oWeapon = GetLocalObject(oPC, "CHOSEN_WEAPON");
int iType = GetBaseItemType(oWeapon);
if (GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC) != oWeapon)
{
FloatingTextStringOnCreature("You must have your chosen weapon equipped in your main hand.", oPC, FALSE);
return;
}
int iWeaponType = GetBaseItemType(oWeapon);
int iNumDice = StringToInt(Get2DACache("baseitems","NumDice",iWeaponType));
int iDieToRoll = StringToInt(Get2DACache("baseitems","DieToRoll",iWeaponType));
int iAttack = iNumDice * iDieToRoll - 1;
effect eAttackIncrease = EffectAttackIncrease(iAttack,ATTACK_BONUS_MISC);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eAttackIncrease, oPC);
FloatingTextStringOnCreature("Dexterous Attack Mode Activated", oPC, FALSE);
DelayCommand(6.0, CheckCombatDexAttack(oPC));
}