opentibiabr / otservbr-global-archived

Archived, read-only repository. New repository: https://github.com/opentibiabr/otservbr-global
GNU General Public License v2.0
332 stars 335 forks source link

Fix summons and familiars bug #2717

Closed dudantas closed 3 years ago

dudantas commented 3 years ago

Description

The familiars kept following the glued players, the summon icon didn't appear properly. These problems appear after the pull https://github.com/opentibiabr/otservbr-global/pull/2173

I reverted most of the changes related to summons and family members, because the code was wrong, the master is passed in Game.createMonster() and not in creature:addSummon(), this second is only used with summons from monsters and in the convince creature.

Behaviour

Actual

image

Expected

image

Type of change

Please delete options that are not relevant.

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