warlock and dk strategy port

This commit is contained in:
Yunfan Li
2023-06-03 14:01:20 +08:00
parent a44b310c0a
commit 0f483047e5
27 changed files with 562 additions and 88 deletions

View File

@@ -8,7 +8,7 @@
bool CastDrainSoulAction::isUseful()
{
return AI_VALUE2(uint32, "item count", "soul shard") < uint32(AI_VALUE(uint8, "bag space") * 0.2);
return AI_VALUE2(uint32, "item count", "soul shard") < 10;
}
Value<Unit*>* CastBanishAction::GetTargetValue()