Explorar o código

Merge pull request #216 from dydzio0614/patch-1

Correcting random amount of gold in gold piles
ArseniyShestakov %!s(int64=9) %!d(string=hai) anos
pai
achega
6ff0c5d58d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/mapObjects/MiscObjects.cpp

+ 1 - 1
lib/mapObjects/MiscObjects.cpp

@@ -868,7 +868,7 @@ void CGResource::initObj(CRandomGenerator & rand)
 		switch(subID)
 		{
 		case 6:
-			amount = rand.nextInt(500, 1000);
+			amount = rand.nextInt(5, 10) * 100;
 			break;
 		case 0: case 2:
 			amount = rand.nextInt(6, 10);