opentibiabr / canary

Canary Server 13.x for OpenTibia community.
https://docs.opentibiabr.com/
GNU General Public License v2.0
374 stars 619 forks source link

Reflect DMG does not include resist #373

Open Zapotoczny opened 2 years ago

Zapotoczny commented 2 years ago

Priority

Medium

Area

What happened?

If i hit monster witch have reflect dmg this function is trigerred. I wear stone skin amulet witch have 80% death dmg resist. In this line https://github.com/opentibiabr/canary/blob/44c8e827f23d8b7b5532949b906c38e214172651/src/creatures/players/player.cpp#L2405 If (it.abilities) should be true when i have a amulet onEquip but is not. I print some values and function correct gets items id.

What OS are you seeing the problem on?

Linux

Code of Conduct

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 120 days with no activity.