[DiscordArchive] "Power Word: Shield instantly heals the target for $s3 and reflects $s1% of damage absorbed."
[DiscordArchive] "Power Word: Shield instantly heals the target for $s3 and reflects $s1% of damage absorbed."
Archived author: Mematoru • Posted: 2024-02-07T19:56:53.072000+00:00
Original source
"Power Word: Shield instantly heals the target for $s3 and reflects $s1% of damage absorbed."
the reflect part.....does it reffer to % from the shield i still have left on me OR % from dmg that i recieved and got absorbed?
Archived author: Tea • Posted: 2024-02-07T19:57:51.501000+00:00
Original source
absorbed from current hit
Archived author: Mematoru • Posted: 2024-02-07T19:57:58.947000+00:00
Original source
<:dogepray:667209246126899200>
Archived author: Northstrider • Posted: 2024-02-07T19:58:13.374000+00:00
Original source
it refers to the... well.. absorbed damage value. so if your shield absorbs 10 damage, you reflect the pct amount of effect_0 (CalculatePct(absorbedDamage, aurEff->GetAmount());
Archived author: Mematoru • Posted: 2024-02-07T20:08:29.401000+00:00
Original source
is it legal if i do abs(value) so i get the positive value?
or i should * -1
Archived author: Northstrider • Posted: 2024-02-07T20:09:01.215000+00:00
Original source
there is a effectabsorb aura script hook which provides a positive absorbed amount value by default
Archived author: Mematoru • Posted: 2024-02-07T20:10:31.685000+00:00
Original source
ye but to get the absorbed damage id need (absorbAmount - damage recieved) or?
Archived author: ModoX • Posted: 2024-02-07T20:11:17.144000+00:00
Original source
just absorbAmount
Archived author: ModoX • Posted: 2024-02-07T20:11:37.193000+00:00
Original source
just calc the x % from absorbAmount value
Archived author: ModoX • Posted: 2024-02-07T20:11:51.327000+00:00
Original source
absorbAmount is what was absorbed from current hit, not the entire absorb remaining