2026/01/30 Update
Updated version number. Fixed Touch of Golden Ice. Removed Leadership related feats from Thrallherds feat list. Necrocarnum Circlet should only fire the Detect Undead cone VFX once. Desert Wind maneuvers should to the right amount of damage. Blade Guide now takes less damage during combat. FEAT_HOSPITALER_SPELLCASTING_PALADIN was missing from HospitalerMarkerFeats() Frenzied Berzerker should now work with Vow of Poverty and Forsaker. prc_wallbreathc now uses PRCEffectDamage(). Changed Mantle of Egregious Might back to Dodge AC. Tweaked Mirror Image.
This commit is contained in:
@@ -41,12 +41,23 @@ void CheckSupremePowerAttack(object oPC, int iEquip)
|
||||
}
|
||||
}
|
||||
|
||||
void ApplyAutoFrenzy(object oPC, object oArmor)
|
||||
void ApplyAutoFrenzy(object oPC, object oArmor)
|
||||
{
|
||||
// Create the OnHitCastSpell property
|
||||
itemproperty ipFrenzy = ItemPropertyOnHitCastSpell(IP_CONST_ONHIT_CASTSPELL_ONHIT_UNIQUEPOWER, 1);
|
||||
// Tag it as protected to bypass Vow of Poverty restrictions
|
||||
ipFrenzy = TagItemProperty(ipFrenzy, "Tag_PRC_OnHitKeeper");
|
||||
// Apply the tagged property
|
||||
IPSafeAddItemProperty(oArmor, ipFrenzy, 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);
|
||||
SetLocalInt(oPC, "AFrenzy", 2);
|
||||
}
|
||||
|
||||
/* void ApplyAutoFrenzy(object oPC, object oArmor)
|
||||
{
|
||||
IPSafeAddItemProperty(oArmor, ItemPropertyOnHitCastSpell(IP_CONST_ONHIT_CASTSPELL_ONHIT_UNIQUEPOWER, 1), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);
|
||||
SetLocalInt(oPC, "AFrenzy", 2);
|
||||
}
|
||||
|
||||
*/
|
||||
void RemoveAutoFrenzy(object oPC, object oArmor)
|
||||
{
|
||||
RemoveSpecificProperty(oArmor, ITEM_PROPERTY_ONHITCASTSPELL, IP_CONST_ONHIT_CASTSPELL_ONHIT_UNIQUEPOWER, 0, 1, "", -1, DURATION_TYPE_TEMPORARY);
|
||||
|
||||
Reference in New Issue
Block a user