Open Annamaria-CC opened 3 years ago
Although this is true, and it shouldn't happen, but it happens because the cooldown is reset, my question is... shouldn't it be a condition directly from the summon? That is, prevent that before making the summon, be constant, that the creature does not exist, and if it exists then do not invoke it. Because within this module, to correct this... I really don't know if it would be feasible, although I should look at the code before. But I got that doubt...
Originally reported: https://github.com/chromiecraft/chromiecraft/issues/874
WHAT CLIENT DO YOU PLAY ON?
FACTION
CONTENT PHASE:
CURRENT BEHAVIOUR:
Players can summon a lot of Mechanical Dragonlings by /dueling and /forfeit right after trinket usage, the npc does not disappear after using the trinket again, it just summons another one, this can lead to abuse from players against open world pve fights. The reason this is happening is that /duel resets all your cooldowns, so the same thing might happen for all the ''summon X npc to assist you in battle'' type of trinkets.
EXPECTED BLIZZLIKE BEHAVIOUR:
The guardian that is summoned after using Mechanical Dragonling should disappear and a new one should take its place.
SOURCE: Doesn't need source, it's obvious that it's a bug.
STEPS TO REPRODUCE THE PROBLEM:
EXTRA NOTES:
Item link: https://www.wowhead.com/item=4396/mechanical-dragonling
AC HASH/COMMIT:
https://github.com/chromiecraft/azerothcore-wotlk/commit/34da0cda5195dede48cb0406b23248330d6249cb
OPERATING SYSTEM:
Ubuntu 20.04
MODULES:
OTHER CUSTOMIZATIONS:
None.
SERVER:
ChromieCraft