Kaynağa Gözat

Make cloned units more valuable

Simeon Manolov 1 ay önce
ebeveyn
işleme
7b5fbc162d
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. 4 1
      AI/MMAI/BAI/v13/stack.cpp

+ 4 - 1
AI/MMAI/BAI/v13/stack.cpp

@@ -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)