Commit 3ae549d656e8862fd2b0f2f58fec79099d262abd

Authored by DarkGod
1 parent 08f9c26c

plop

... ... @@ -1496,7 +1496,8 @@ local standard_rnd_boss_adjust = function(b)
1496 1496 change = (max - flat)
1497 1497 if flat > max then
1498 1498 b.flat_damage_armor.all = b.flat_damage_armor.all - (flat - max)
1499   - print("[standard_rnd_boss_adjust]: Adjusting flat armor", flat, "Max", max, "Change", change)
  1499 + -- Do NOT activate this log for production, it may trigger undefined upvalue if print is redefined
  1500 + -- print("[standard_rnd_boss_adjust]: Adjusting flat armor", flat, "Max", max, "Change", change)
1500 1501 end
1501 1502
1502 1503 if b.level <= 20 then
... ... @@ -1505,7 +1506,8 @@ local standard_rnd_boss_adjust = function(b)
1505 1506 change = (max - armor)
1506 1507 if armor > max then
1507 1508 b.combat_armor = b.combat_armor - (armor - max)
1508   - print("[standard_rnd_boss_adjust]: Adjusting armor", armor, "Max", max, "Change", change)
  1509 + -- Do NOT activate this log for production, it may trigger undefined upvalue if print is redefined
  1510 + -- print("[standard_rnd_boss_adjust]: Adjusting armor", armor, "Max", max, "Change", change)
1509 1511 end
1510 1512
1511 1513 local defense = b:combatDefense()
... ... @@ -1513,7 +1515,8 @@ local standard_rnd_boss_adjust = function(b)
1513 1515 change = (max - defense)
1514 1516 if defense > max then
1515 1517 b.combat_def = b.combat_def - (defense - max)
1516   - print("[standard_rnd_boss_adjust]: Adjusting defense", defense, "Max", max, "Change", change)
  1518 + -- Do NOT activate this log for production, it may trigger undefined upvalue if print is redefined
  1519 + -- print("[standard_rnd_boss_adjust]: Adjusting defense", defense, "Max", max, "Change", change)
1517 1520 end
1518 1521
1519 1522 -- Temporarily just hard removing this early game pending this stat not being spammed everywhere causing tons of damage most people don't even notice is happening
... ...