Darwin

Member
Hi. I'm trying to make Attunement absorb Magical damage along with melee damage. I'd post what I've tried, but tbh I've tried a million things lol. I tried adding a bunch of MagicDamageAbsorb checks under the Attunement script, but that had no effect. Then I tried adding an attunement spell TryAbsorbing check under spellhelper but couldn't get it to compile properly. In spite of being as noobie as I am I'm usually able to figure things out through sheer will, but in this case I've been pretty stumped for a while.

Any help would be appreciated. Thanks.
 
AOS.cs:

Code:
            if (type <= DamageType.Ranged)
            {
                AttuneWeaponSpell.TryAbsorb(m, ref totalDamage);
            }

change to:

Code:
AttuneWeaponSpell.TryAbsorb(m, ref totalDamage
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back