Opened 3 years ago
Closed 3 years ago
#6162 closed defect (fixed)
Mercenaries are duplicated
Reported by: | Stan | Owned by: | Freagarach |
---|---|---|---|
Priority: | Release Blocker | Milestone: | Alpha 25 |
Component: | Simulation | Keywords: | |
Cc: | Freagarach | Patch: | Phab:D3918 |
Description
Steps to reproduce
- Garrison mercenaries
- Do the upgrade to lvl2
- Notice you now have duplicated mercenaries outside the building and inside it.
Or see attached replay.
Attachments (1)
Change History (5)
by , 3 years ago
Attachment: | 2021-04-30_0003.zip added |
---|
comment:2 by , 3 years ago
This is a nice one.
It depends on the structure you garrison the mercenaries in. Which leads to the barracks. Which happens to also have a XP trickle.
Situation:
- Merc in barracks, which is trickling XP.
OnValueModification
-> Merc is being promoted, old merc still exists.- The old merc is ejected from the barracks, thus removing the trickle aura, triggering another value modification message.
- That new value modification message triggers another promotion.
- Only then does the first
ChangeEntityTemplate
finish, settingthis.promotedUnitEntity
, which would cause any extra increased XP to be forwarded.
comment:3 by , 3 years ago
Owner: | set to |
---|---|
Patch: | → Phab:D3918 |
Note:
See TracTickets
for help on using tickets.
replay