tel8618217223380 / game-golem

Automatically exported from code.google.com/p/game-golem
0 stars 0 forks source link

Loops attacking 0% defense monsters #308

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Have a Genna with 0% defense (minimum to attack set to 20 / 50 / 80% in 
subsecuent retries)

What is the expected output? What do you see instead?
Switch to defend, since theres more than enough energy for that OR at least 
stop trying to attack it, and release control to other workers, say Idle for 
example

What version of Golem are you using? Beta or release? On what browser?
1090

Does anything relevant appear in the Console? (ctrl+shift+J)
[09:07:47] Generals: General rejected due to energy or stamina loss: Elin to 
Vanquish
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_monster.js:1737[r1
090] [09:07:47] Queue->Monster: Try to attack XXX Gehenna for 20 stamina
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_monster.js:924[r10
90] [09:07:50] Page->Monster: Name XXX
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:201[r1090] 
[09:07:56] Queue: At max stamina, burning stamina
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_generals.js:617[09
:07:56] Generals: General rejected due to energy or stamina loss: Elin to 
Vanquish
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_monster.js:1737[r1
090] [09:07:56] Queue->Monster: Try to attack XXX's Gehenna for 20 stamina
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_monster.js:924[r10
90] [09:07:59] Page->Monster: Name XXX
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:201[r1090] 
[09:08:05] Queue: At max stamina, burning stamina

Please provide any additional information below.

Original issue reported on code.google.com by fmcata...@gmail.com on 25 Apr 2011 at 12:07

GoogleCodeExporter commented 9 years ago
Dashboard shows defense at 0% and in green, btw. Switching from priority list, 
to continuous or never dosn't affect the looping.

Original comment by fmcata...@gmail.com on 25 Apr 2011 at 12:09

GoogleCodeExporter commented 9 years ago
Sorry, fixed this issue in 1097, was a typo in the check for defense - checking 
if it existed with a simple "if (defense)" type check, which would say no if 
defense was at 0. Now got it to handle numbers properly ;-)

Original comment by RycochetTM on 11 May 2011 at 10:47

GoogleCodeExporter commented 9 years ago

Original comment by RycochetTM on 15 May 2011 at 4:08