Make cloned units more valuable

This commit is contained in:
Simeon Manolov
2026-01-06 02:29:29 +02:00
parent 807cc1a850
commit 7b5fbc162d
+4 -1
View File
@@ -289,8 +289,11 @@ Stack::Stack(
auto valueOne = GetValue(cstack->unitType());
// Force a higher value clones (we want extra focus on them)
// Force a lower value for summons (we don't care about them, they are not permanent)
if(cstack->unitSlot() == SlotID::SUMMONED_SLOT_PLACEHOLDER)
if(cstack->isClone())
valueOne *= 5;
else if(cstack->unitSlot() == SlotID::SUMMONED_SLOT_PLACEHOLDER)
valueOne *= 0.2;
auto permille = [](int v1, int v2)