Fixed unproficient TWF bug.
Fixed unproficient TWF bug. Tried giving Bloodclaw Rending an on/off switch.
This commit is contained in:
parent
e856279b2b
commit
2792ed00fc
@ -8,7 +8,7 @@
|
|||||||
4 ClawsOfTheBeast 24062 3 1 0
|
4 ClawsOfTheBeast 24062 3 1 0
|
||||||
5 SuperiorTwoWeaponFighting 24063 3 2 0
|
5 SuperiorTwoWeaponFighting 24063 3 2 0
|
||||||
6 TigerClawSynergy 24064 3 2 0
|
6 TigerClawSynergy 24064 3 2 0
|
||||||
7 RendingClaws 24065 3 5 0
|
7 RendingClaws 24065 3 5 1
|
||||||
8 PouncingStrike 24066 3 3 1
|
8 PouncingStrike 24066 3 3 1
|
||||||
9 Shifting1 24067 3 1 1
|
9 Shifting1 24067 3 1 1
|
||||||
10 Shifting2 24068 3 3 1
|
10 Shifting2 24068 3 3 1
|
||||||
|
@ -17998,7 +17998,7 @@
|
|||||||
17994 **** **** **** **** **** **** ****
|
17994 **** **** **** **** **** **** ****
|
||||||
17995 **** **** **** **** **** **** ****
|
17995 **** **** **** **** **** **** ****
|
||||||
17996 **** **** **** **** **** **** ****
|
17996 **** **** **** **** **** **** ****
|
||||||
17997 **** **** **** **** **** **** ****
|
17997 SPELL_BCM_RENDING_CLAWS **** **** **** **** **** ****
|
||||||
17998 **** **** **** **** **** **** ****
|
17998 **** **** **** **** **** **** ****
|
||||||
17999 ####END_OF_TOB_SPELLBOOK_RESERVE **** **** **** **** **** ****
|
17999 ####END_OF_TOB_SPELLBOOK_RESERVE **** **** **** **** **** ****
|
||||||
18000 **BEGIN_INVOCATIONS** **** **** **** **** **** ****
|
18000 **BEGIN_INVOCATIONS** **** **** **** **** **** ****
|
||||||
|
@ -17998,7 +17998,7 @@
|
|||||||
17994 **** **** 1 1 1 **** ****
|
17994 **** **** 1 1 1 **** ****
|
||||||
17995 **** **** 1 1 1 **** ****
|
17995 **** **** 1 1 1 **** ****
|
||||||
17996 **** **** 1 1 1 **** ****
|
17996 **** **** 1 1 1 **** ****
|
||||||
17997 **** **** 1 1 1 **** ****
|
17997 SPELL_BCM_RENDING_CLAWS **** 1 1 1 3 ****
|
||||||
17998 **** **** 1 1 1 **** ****
|
17998 **** **** 1 1 1 **** ****
|
||||||
17999 ####END_OF_TOB_SPELLBOOK_RESERVE **** 1 1 1 **** ****
|
17999 ####END_OF_TOB_SPELLBOOK_RESERVE **** 1 1 1 **** ****
|
||||||
18000 **BEGIN_INVOCATIONS** **** 1 1 1 **** ****
|
18000 **BEGIN_INVOCATIONS** **** 1 1 1 **** ****
|
||||||
|
@ -24066,7 +24066,7 @@
|
|||||||
24062 ClawsOfTheBeast 16827153 16827154 ife_X2GWShp3 **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
24062 ClawsOfTheBeast 16827153 16827154 ife_X2GWShp3 **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
||||||
24063 SuperiorTwoWeaponFighting 16827155 16827156 ife_X2MightRage **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
24063 SuperiorTwoWeaponFighting 16827155 16827156 ife_X2MightRage **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
||||||
24064 TigerClawSynergy 16827157 16827158 ife_X2GWShp2 **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
24064 TigerClawSynergy 16827157 16827158 ife_X2GWShp2 **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
||||||
24065 RendingClaws 16827159 16827160 ife_X2GWShp1 **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
24065 RendingClaws 16827159 16827160 ife_X2GWShp1 **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** 17997 **** 1 **** **** 1 **** **** **** **** **** **** **** **** **** FEAT_BCM_RENDING_CLAWS 4 **** **** **** **** **** 0 0
|
||||||
24066 PouncingStrike 16827161 16827162 ife_X2BaneEnem **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** 2085 **** 1 -1 **** 1 **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
24066 PouncingStrike 16827161 16827162 ife_X2BaneEnem **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** 2085 **** 1 -1 **** 1 **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
||||||
24067 Shifting1 16827163 16827164 ife_wildshape **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** 2100 24068 1 1 **** 1 **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
24067 Shifting1 16827163 16827164 ife_wildshape **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** 2100 24068 1 1 **** 1 **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
||||||
24068 Shifting2 16827163 16827164 ife_wildshape **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** 2100 24069 1 2 **** 1 **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
24068 Shifting2 16827163 16827164 ife_wildshape **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** 2100 24069 1 2 **** 1 **** **** **** **** **** **** **** **** **** **** 4 **** **** **** **** **** 0 0
|
||||||
|
@ -17998,7 +17998,7 @@
|
|||||||
17994 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
17994 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
||||||
17995 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
17995 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
||||||
17996 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
17996 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
||||||
17997 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
17997 SPELL_BCM_RENDING_CLAWS 16827159 ife_X2GWShp1 T P 0 0x00 0x01 tob_bcm_rend **** **** **** **** **** **** 3 1500 hand **** vco_smhannatr01 **** sco_mehannatr01 **** **** out 0 **** **** **** **** 0 **** **** **** **** **** **** 0 **** **** **** **** **** **** 320 3 16827160 0 0 **** 0 24065 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
||||||
17998 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
17998 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
||||||
17999 ####END_OF_TOB_SPELLBOOK_RESERVE **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
17999 ####END_OF_TOB_SPELLBOOK_RESERVE **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
||||||
18000 **BEGIN_INVOCATIONS** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
18000 **BEGIN_INVOCATIONS** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
||||||
|
@ -3529,6 +3529,9 @@ const int FEAT_EPIC_ARTIFICER = 4072;
|
|||||||
//Justice of Weald and Woe
|
//Justice of Weald and Woe
|
||||||
const int FEAT_LUCKY_SHOT = 24021;
|
const int FEAT_LUCKY_SHOT = 24021;
|
||||||
|
|
||||||
|
//:: Bloodclaw Master
|
||||||
|
const int FEAT_BCM_RENDING_CLAWS = 24065;
|
||||||
|
|
||||||
// Dread Necromancer
|
// Dread Necromancer
|
||||||
const int FEAT_DN_SCABROUS_TOUCH = 24145;
|
const int FEAT_DN_SCABROUS_TOUCH = 24145;
|
||||||
const int FEAT_DN_NEG_NRG_BURST = 24149;
|
const int FEAT_DN_NEG_NRG_BURST = 24149;
|
||||||
|
@ -607,8 +607,41 @@ int IsWeaponMartial(int nBaseItemType, object oPC)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//checks to see if the PC can wield the weapon. If not, applies a -4 penalty.
|
//checks to see if the PC can wield the weapon. If not, applies a -4 penalty.
|
||||||
void DoProficiencyCheck(object oPC, object oItem, int nHand)
|
void DoProficiencyCheck(object oPC, object oItem, int nHand)
|
||||||
|
{
|
||||||
|
int bProficient = FALSE;
|
||||||
|
int nBase = GetBaseItemType(oItem);
|
||||||
|
|
||||||
|
bProficient = IsProficient(oPC, nBase);
|
||||||
|
if (!bProficient)
|
||||||
|
{
|
||||||
|
if (nHand == ATTACK_BONUS_ONHAND)
|
||||||
|
{
|
||||||
|
SetCompositeAttackBonus(oPC, "Unproficient" + IntToString(ATTACK_BONUS_ONHAND), -4, ATTACK_BONUS_ONHAND);
|
||||||
|
}
|
||||||
|
if (nHand == ATTACK_BONUS_OFFHAND)
|
||||||
|
{
|
||||||
|
SetCompositeAttackBonus(oPC, "Unproficient" + IntToString(ATTACK_BONUS_OFFHAND), -4, ATTACK_BONUS_OFFHAND);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Handle specific double-sided weapon logic
|
||||||
|
if (nBase == BASE_ITEM_DOUBLEAXE || nBase == BASE_ITEM_TWOBLADEDSWORD || nBase == BASE_ITEM_DIREMACE || nBase == BASE_ITEM_DOUBLE_SCIMITAR)
|
||||||
|
{ // This should only affect offhand if the main hand is these types
|
||||||
|
SetCompositeAttackBonus(oPC, "Unproficient" + IntToString(ATTACK_BONUS_OFFHAND), -4, ATTACK_BONUS_OFFHAND);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetCompositeAttackBonus(oPC, "Unproficient" + IntToString(ATTACK_BONUS_ONHAND), 0, ATTACK_BONUS_ONHAND);
|
||||||
|
SetCompositeAttackBonus(oPC, "Unproficient" + IntToString(ATTACK_BONUS_OFFHAND), 0, ATTACK_BONUS_OFFHAND);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//checks to see if the PC can wield the weapon. If not, applies a -4 penalty.
|
||||||
|
/* void DoProficiencyCheck(object oPC, object oItem, int nHand)
|
||||||
{
|
{
|
||||||
int bProficient = FALSE;
|
int bProficient = FALSE;
|
||||||
|
|
||||||
@ -632,8 +665,14 @@ void DoProficiencyCheck(object oPC, object oItem, int nHand)
|
|||||||
if(nBase == BASE_ITEM_DOUBLEAXE || nBase == BASE_ITEM_TWOBLADEDSWORD || nBase == BASE_ITEM_DIREMACE || nBase == BASE_ITEM_DOUBLE_SCIMITAR)
|
if(nBase == BASE_ITEM_DOUBLEAXE || nBase == BASE_ITEM_TWOBLADEDSWORD || nBase == BASE_ITEM_DIREMACE || nBase == BASE_ITEM_DOUBLE_SCIMITAR)
|
||||||
SetCompositeAttackBonus(oPC, "Unproficient" + IntToString(ATTACK_BONUS_OFFHAND), -4, ATTACK_BONUS_OFFHAND);
|
SetCompositeAttackBonus(oPC, "Unproficient" + IntToString(ATTACK_BONUS_OFFHAND), -4, ATTACK_BONUS_OFFHAND);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetCompositeAttackBonus(oPC, "Unproficient" + IntToString(nHand), 0, ATTACK_BONUS_ONHAND);
|
||||||
|
if(nBase == BASE_ITEM_DOUBLEAXE || nBase == BASE_ITEM_TWOBLADEDSWORD || nBase == BASE_ITEM_DIREMACE || nBase == BASE_ITEM_DOUBLE_SCIMITAR)
|
||||||
|
SetCompositeAttackBonus(oPC, "Unproficient" + IntToString(ATTACK_BONUS_OFFHAND), 0, ATTACK_BONUS_OFFHAND);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
void DoWeaponEquip(object oPC, object oItem, int nHand)
|
void DoWeaponEquip(object oPC, object oItem, int nHand)
|
||||||
{
|
{
|
||||||
if(GetIsDM(oPC) || !GetIsWeapon(oItem)) return;
|
if(GetIsDM(oPC) || !GetIsWeapon(oItem)) return;
|
||||||
@ -663,6 +702,12 @@ void DoWeaponEquip(object oPC, object oItem, int nHand)
|
|||||||
SetCompositeAttackBonus(oPC, "MonkeyGripL", -2, ATTACK_BONUS_OFFHAND);
|
SetCompositeAttackBonus(oPC, "MonkeyGripL", -2, ATTACK_BONUS_OFFHAND);
|
||||||
SetCompositeAttackBonus(oPC, "MonkeyGripR", -2, ATTACK_BONUS_ONHAND);
|
SetCompositeAttackBonus(oPC, "MonkeyGripR", -2, ATTACK_BONUS_ONHAND);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetCompositeAttackBonus(oPC, "MonkeyGripL", 0, ATTACK_BONUS_OFFHAND);
|
||||||
|
SetCompositeAttackBonus(oPC, "MonkeyGripR", 0, ATTACK_BONUS_ONHAND);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(DEBUG) DoDebug("prc_inc_wpnrest - Weapon size: " + IntToString(nWeaponSize));
|
if(DEBUG) DoDebug("prc_inc_wpnrest - Weapon size: " + IntToString(nWeaponSize));
|
||||||
@ -711,6 +756,12 @@ void DoWeaponEquip(object oPC, object oItem, int nHand)
|
|||||||
SetCompositeAttackBonus(oPC, "OTWFL", 2, ATTACK_BONUS_OFFHAND);
|
SetCompositeAttackBonus(oPC, "OTWFL", 2, ATTACK_BONUS_OFFHAND);
|
||||||
SetCompositeAttackBonus(oPC, "OTWFR", 2, ATTACK_BONUS_ONHAND);
|
SetCompositeAttackBonus(oPC, "OTWFR", 2, ATTACK_BONUS_ONHAND);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetCompositeAttackBonus(oPC, "OTWFL", 0, ATTACK_BONUS_OFFHAND);
|
||||||
|
SetCompositeAttackBonus(oPC, "OTWFR", 0, ATTACK_BONUS_ONHAND);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -750,6 +801,11 @@ void DoWeaponEquip(object oPC, object oItem, int nHand)
|
|||||||
if(DEBUG) DoDebug("prc_inc_wpnrest - OTWFPenalty: " + IntToString(-2));
|
if(DEBUG) DoDebug("prc_inc_wpnrest - OTWFPenalty: " + IntToString(-2));
|
||||||
SetCompositeAttackBonus(oPC, "OTWFPenalty", -2);
|
SetCompositeAttackBonus(oPC, "OTWFPenalty", -2);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetCompositeAttackBonus(oPC, "OTWFPenalty", 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//Handle feat bonuses for Lightblade, thinblade, and courtblade
|
//Handle feat bonuses for Lightblade, thinblade, and courtblade
|
||||||
//using else if so they don't overlap.
|
//using else if so they don't overlap.
|
||||||
|
@ -10,6 +10,9 @@ const int SPELL_BLACKLIGHT = 2091;
|
|||||||
const int SPELL_BARD_SONG = 411;
|
const int SPELL_BARD_SONG = 411;
|
||||||
const int SPELL_BARD_CURSE_SONG = 644;
|
const int SPELL_BARD_CURSE_SONG = 644;
|
||||||
|
|
||||||
|
//:: Bloodclaw Master
|
||||||
|
const int SPELL_BCM_RENDING_CLAWS = 17997;
|
||||||
|
|
||||||
//:: Complete Warrior
|
//:: Complete Warrior
|
||||||
const int SPELL_RANGED_DISARM = 3493;
|
const int SPELL_RANGED_DISARM = 3493;
|
||||||
|
|
||||||
|
@ -871,6 +871,7 @@ void LocalCleanExtraFists(object oCreature)
|
|||||||
oClean = GetNextItemInInventory(oCreature);
|
oClean = GetNextItemInInventory(oCreature);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
object GetPsionicCreatureWeapon(object oCreature, string sResRef, int nInventorySlot, float fDuration)
|
object GetPsionicCreatureWeapon(object oCreature, string sResRef, int nInventorySlot, float fDuration)
|
||||||
{
|
{
|
||||||
int bCreatedWeapon = FALSE;
|
int bCreatedWeapon = FALSE;
|
||||||
|
28
nwn/nwnprc/trunk/newspellbook/tob_bcm_rend.nss
Normal file
28
nwn/nwnprc/trunk/newspellbook/tob_bcm_rend.nss
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
//:: tob_bcm_rend
|
||||||
|
|
||||||
|
/*
|
||||||
|
Turn Rending Claws off & on
|
||||||
|
*/
|
||||||
|
#include "prc_inc_function"
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
object oPC = OBJECT_SELF;
|
||||||
|
|
||||||
|
int bRend = GetLocalInt(oPC, "BCM_REND");
|
||||||
|
|
||||||
|
if (bRend)
|
||||||
|
{
|
||||||
|
DeleteLocalInt(oPC, "BCM_REND");
|
||||||
|
//DelayCommand(1.0, EvalPRCFeats(oPC));
|
||||||
|
FloatingTextStringOnCreature("Rending Claws Disabled", oPC, FALSE);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetLocalInt(oPC, "BCM_REND", 1);
|
||||||
|
effect eVis = EffectVisualEffect(VFX_IMP_SUPER_HEROISM);
|
||||||
|
SPApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oPC);
|
||||||
|
//DelayCommand(1.0, EvalPRCFeats(oPC));
|
||||||
|
FloatingTextStringOnCreature("Rending Claws Enabled", oPC, FALSE);
|
||||||
|
}
|
||||||
|
}
|
@ -41,8 +41,11 @@ void ClawsOfTheBeast(object oInitiator, object oTarget)
|
|||||||
|
|
||||||
void RendingClaws(object oInitiator, object oTarget)
|
void RendingClaws(object oInitiator, object oTarget)
|
||||||
{
|
{
|
||||||
|
//:: Check that Rending Claws is enabled
|
||||||
|
int bCanRend = GetLocalInt(oInitiator, "BCM_REND");
|
||||||
|
|
||||||
// Expend a maneuver to do the rend, must be shifting
|
// Expend a maneuver to do the rend, must be shifting
|
||||||
if(ExpendRandomManeuver(oInitiator, GetPrimaryBladeMagicClass(oInitiator), DISCIPLINE_TIGER_CLAW)
|
if(bCanRend && ExpendRandomManeuver(oInitiator, GetPrimaryBladeMagicClass(oInitiator), DISCIPLINE_TIGER_CLAW)
|
||||||
&& GetHasSpellEffect(MOVE_BLOODCLAW_SHIFT, oTarget))
|
&& GetHasSpellEffect(MOVE_BLOODCLAW_SHIFT, oTarget))
|
||||||
{
|
{
|
||||||
if(IsUsingBloodClawWeapons(oInitiator))
|
if(IsUsingBloodClawWeapons(oInitiator))
|
||||||
|
@ -59,6 +59,16 @@ void main()
|
|||||||
if (GetResRef(oItem) == "prc_crown_might") DestroyObject(oItem);
|
if (GetResRef(oItem) == "prc_crown_might") DestroyObject(oItem);
|
||||||
if (GetResRef(oItem) == "prc_crown_prot") DestroyObject(oItem);
|
if (GetResRef(oItem) == "prc_crown_prot") DestroyObject(oItem);
|
||||||
|
|
||||||
|
int nClaw = GetStringLeft(GetResRef(oItem), 12) == "prc_diaclaw_" ? TRUE : FALSE;
|
||||||
|
if(nClaw)DestroyObject(oItem);
|
||||||
|
|
||||||
|
nClaw = GetStringLeft(GetResRef(oItem), 9) == "prc_claw_" ? TRUE : FALSE;
|
||||||
|
if(nClaw)DestroyObject(oItem);
|
||||||
|
|
||||||
|
int nUnarmed = GetStringLeft(GetResRef(oItem), 12) == "prc_unarmed_" ? TRUE : FALSE;
|
||||||
|
if(nUnarmed)DestroyObject(oItem);
|
||||||
|
|
||||||
|
|
||||||
// Delay a bit to prevent TMI due to polymorph effect being braindead and running the unequip script for each and
|
// Delay a bit to prevent TMI due to polymorph effect being braindead and running the unequip script for each and
|
||||||
// bloody every item the character has equipped at the moment of effect application. Without detaching the script
|
// bloody every item the character has equipped at the moment of effect application. Without detaching the script
|
||||||
// executions from the script that does the effect application. So no instruction counter resets.
|
// executions from the script that does the effect application. So no instruction counter resets.
|
||||||
|
Binary file not shown.
@ -19197,7 +19197,9 @@ Once per day, a Hexblade of 12th level or higher can create a baleful aura of mi
|
|||||||
<entry id="48572" lang="en" sex="m">Arcane Resistance</entry>
|
<entry id="48572" lang="en" sex="m">Arcane Resistance</entry>
|
||||||
<entry id="48573" lang="en" sex="m">Type of Feat: Class
|
<entry id="48573" lang="en" sex="m">Type of Feat: Class
|
||||||
Prerequisite: Hexblade level 2
|
Prerequisite: Hexblade level 2
|
||||||
At 2nd level a Hexblade gains a bonus equal to his Charisma bonus (minimum +1) on saving throws against spells and spell-like effects.</entry>
|
At 2nd level a Hexblade gains a bonus equal to his Charisma bonus (minimum +1) on saving throws against spells and spell-like effects.
|
||||||
|
|
||||||
|
*This is implemented as a penalty on all incoming hostile spells. </entry>
|
||||||
<entry id="48574" lang="en" sex="m">Epic Hexblade</entry>
|
<entry id="48574" lang="en" sex="m">Epic Hexblade</entry>
|
||||||
<entry id="48575" lang="en" sex="m">Type: Class
|
<entry id="48575" lang="en" sex="m">Type: Class
|
||||||
Prerequisite: Hexblade level 21
|
Prerequisite: Hexblade level 21
|
||||||
@ -21078,11 +21080,23 @@ Armor Skin, Automatic Quicken Spell, Automatic Silent Spell, Automatic Still Spe
|
|||||||
<entry id="49134" lang="en" sex="m">True Seeing</entry>
|
<entry id="49134" lang="en" sex="m">True Seeing</entry>
|
||||||
<entry id="49135" lang="en" sex="m">You gain Blindsight, the ability to see without vision.</entry>
|
<entry id="49135" lang="en" sex="m">You gain Blindsight, the ability to see without vision.</entry>
|
||||||
<entry id="49136" lang="en" sex="m">Fast Healing I</entry>
|
<entry id="49136" lang="en" sex="m">Fast Healing I</entry>
|
||||||
<entry id="49137" lang="en" sex="m">You gain Regeneration +3</entry>
|
<entry id="49137" lang="en" sex="m">Prerequisite
|
||||||
|
Con 25.
|
||||||
|
|
||||||
|
Benefit
|
||||||
|
You gain Regeneration +3</entry>
|
||||||
<entry id="49138" lang="en" sex="m">Fast Healing II</entry>
|
<entry id="49138" lang="en" sex="m">Fast Healing II</entry>
|
||||||
<entry id="49139" lang="en" sex="m">You gain Regeneration +6</entry>
|
<entry id="49139" lang="en" sex="m">Prerequisite
|
||||||
|
Con 25, Fast Healing I
|
||||||
|
|
||||||
|
Benefit
|
||||||
|
You gain Regeneration +6</entry>
|
||||||
<entry id="49140" lang="en" sex="m">Fast Healing III</entry>
|
<entry id="49140" lang="en" sex="m">Fast Healing III</entry>
|
||||||
<entry id="49141" lang="en" sex="m">You gain Regeneration +9</entry>
|
<entry id="49141" lang="en" sex="m">Prerequisite
|
||||||
|
Con 25, Fast Healing II
|
||||||
|
|
||||||
|
Benefit
|
||||||
|
You gain Regeneration +9</entry>
|
||||||
<entry id="49142" lang="en" sex="m">Draconic Spell Resistance</entry>
|
<entry id="49142" lang="en" sex="m">Draconic Spell Resistance</entry>
|
||||||
<entry id="49143" lang="en" sex="m">Your Draconic blood grants you spell resistance equal to 20+Dragon Disciple Level.</entry>
|
<entry id="49143" lang="en" sex="m">Your Draconic blood grants you spell resistance equal to 20+Dragon Disciple Level.</entry>
|
||||||
<entry id="49144" lang="en" sex="m">Draconic Armor Increase</entry>
|
<entry id="49144" lang="en" sex="m">Draconic Armor Increase</entry>
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user