mod-duel-reset
mod-duel-reset copied to clipboard
Players can summon multiple Mechanical Dragonlings using the engineering trinket and /duel
Originally reported: https://github.com/chromiecraft/chromiecraft/issues/874
WHAT CLIENT DO YOU PLAY ON?
- [ ] enGB
- [x] enUS
- [ ] other (specify)
FACTION
- [x] Alliance
- [x] Horde
CONTENT PHASE:
- [x] Generic
- [ ] 1-19
- [ ] 20-29
- [ ] 30-39
- [ ] 40-49
- [ ] 50-59
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:
- get engineering and Mechanical Dragonling trinket
- duel someone and use the trinket
- /forfeit
- repeat step 2 and 3.
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:
- mod-ah-bot
- mod-cfbg
- mod-desertion-warnings
- mod-duel-reset
- mod-eluna-lua-engine
- mod-multi-client-check
- mod-pvp-titles
- mod-server-auto-shutdown
- lua-CarbonCopy
- lua-LevelUpReward
- lua-send-and-bind
OTHER CUSTOMIZATIONS:
None.
SERVER:
ChromieCraft
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
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...