opentibiabr / canary

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

fix: wands and rods chain damage #3128

Closed phacUFPE closed 1 week ago

phacUFPE commented 1 week ago

Description

This fixes the damage when chain system enabled for wands and rods.

Behaviour

Actual

Wands and rods does same damage not taking account the fromDamage and toDamage.

Expected

Wands and rods does damage taking account the fromDamage and toDamage.

Fixes #2472

Type of change

How Has This Been Tested

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

Checklist

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud