瀏覽代碼

Fixed values for some of stack experience bonuses.
TODO: Move 0-level bonuses from CREXPBON.txt to wog mod.

DjWarmonger 12 年之前
父節點
當前提交
cc505ce935
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      lib/CCreatureHandler.cpp

+ 4 - 1
lib/CCreatureHandler.cpp

@@ -1015,7 +1015,10 @@ void CCreatureHandler::loadStackExp(Bonus & b, BonusList & bl, CLegacyConfigPars
 	}
 	else
 	{
-		lastVal = parser.readNumber(); //basic value, not particularly useful but existent
+		lastVal = parser.readNumber();
+		if (b.type == Bonus::HATE)
+			lastVal *= 10; //odd fix
+		//FIXME: value for zero level should be stored in our config files (independent of stack exp)
 		for (int i = 1; i < 11; ++i)
 		{
 			curVal = parser.readNumber();