mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-10-29 09:38:31 -04:00
2025/05/30 Afternoon Update
Fixed copy/paste bug with EWS & new weapons. Added documentation for DoCharge and DoGrapple. Bloodwar Gauntlets should provide keen now. Strength of Stone should provide Immunity from Critical Hits now. Shadowbane Stalker should be enterable now.
This commit is contained in:
1 parent
be9a8e922d
commit
355815c64f
5 files changed
+88
-18
No files matched your search
@@ -576,6 +576,11 @@ void main()
|
||||
if(IPGetIsMeleeWeapon(oItem))
|
||||
{
|
||||
int nBonus = IPGetWeaponEnhancementBonus(oItem);
|
||||
|
||||
if (GetHasSpellEffect(MELD_BLOODWAR_GAUNTLETS, oMeldshaper))
|
||||
{
|
||||
BloodwarGauntlets(oMeldshaper, oItem, nEvent);
|
||||
}
|
||||
|
||||
if (GetHasSpellEffect(MELD_INCARNATE_AVATAR, oMeldshaper))
|
||||
{
|
||||
@@ -646,7 +651,7 @@ void main()
|
||||
+ "oMeldshaper = " + DebugObject2Str(oMeldshaper) + "\n"
|
||||
+ "oItem = " + DebugObject2Str(oItem) + "\n"
|
||||
);
|
||||
|
||||
|
||||
if (GetTag(oItem) == "moi_incarnatewpn")
|
||||
ForceEquip(oMeldshaper, oItem, INVENTORY_SLOT_RIGHTHAND); // No unequipping this weapon
|
||||
// Only applies to armours
|
||||
@@ -659,7 +664,9 @@ void main()
|
||||
// Melee weapon
|
||||
if(IPGetIsMeleeWeapon(oItem))
|
||||
{
|
||||
// Remove the attack bonus
|
||||
BloodwarGauntlets(oMeldshaper, oItem, nEvent);
|
||||
|
||||
// Remove the attack bonus
|
||||
RemoveSpecificProperty(oItem, ITEM_PROPERTY_ATTACK_BONUS, -1, -1, 1, "", -1, DURATION_TYPE_TEMPORARY);
|
||||
RemoveSpecificProperty(oItem, ITEM_PROPERTY_DECREASED_ATTACK_MODIFIER, -1, -1, 1, "", -1, DURATION_TYPE_TEMPORARY);
|
||||
RemoveSpecificProperty(oItem, ITEM_PROPERTY_DAMAGE_BONUS, -1, -1, 1, "", -1, DURATION_TYPE_TEMPORARY);
|
||||
|
||||
@@ -41,13 +41,15 @@ void main()
|
||||
|
||||
if(move.bCanManeuver)
|
||||
{
|
||||
effect eLink =EffectVisualEffect(VFX_DUR_ROOTED_TO_SPOT);
|
||||
effect eLink = EffectVisualEffect(VFX_DUR_ROOTED_TO_SPOT);
|
||||
|
||||
if (GetHasDefensiveStance(oInitiator, DISCIPLINE_STONE_DRAGON))
|
||||
{
|
||||
eLink = EffectLinkEffects(eLink, EffectImmunity(IMMUNITY_TYPE_CRITICAL_HIT));
|
||||
eLink = EffectLinkEffects(eLink, EffectSavingThrowIncrease(SAVING_THROW_ALL, 2));
|
||||
}
|
||||
|
||||
eLink = EffectLinkEffects(eLink, EffectImmunity(IMMUNITY_TYPE_CRITICAL_HIT));
|
||||
|
||||
eLink = ExtraordinaryEffect(eLink);
|
||||
|
||||
InitiatorMovementCheck(oInitiator, move.nMoveId, 5.0);
|
||||
|
||||
Reference in new issue
Block a user