Naviehs

Member
I have been using Natfoth Passive Item and I am trying to make it so it applies to talisman.


public override void OnDamage(int amount, Mobile from, bool willKill)
{
if ( FindItemOnLayer( Layer.Talisman ) is BasePassiveItem passiveItem )
passiveItem.OnDamageGiven(this, amount, from, willKill);


The issue is, the person doing "OnDamageGiven" is the one getting damaged
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back