cdubz on monster_behavior_basics
cdubz on maze
cdubz on master
Updated React to v15. Merge pull request #73 from cdu… (compare)
bovard on gh-pages
Add Gitter badge Merge pull request #70 from git… Bug fix: prevent more enemy uni… and 3 more (compare)
bovard on master
Bug fix: prevent more enemy uni… Merge pull request #72 from rya… (compare)
It was only a matter of time: https://gist.github.com/anonymous/b643f068f2ac98e12c27
I swear I'll only use it for testing strategies. I built this so I could figure out a way past Esorbma.
@bovard I'm almost positive that level 11 is nearly impossible at the moment. I just used the code above to run it manually and still got nowhere.
I was dodging 5 different Esorbma's at one point before I was completely surrounded by them and a bunch of other enemies.
I've beaten 4+ different roguelikes so I don' think my skill is the actual problem.
Maybe you could limit the level to 1 Esorbma, since it is appears to always be aware of the player and active.
[
[primaryEnemy, numPrimaryEnemy],
[secondaryEnemy, numSecondaryEnemy],
[rareEnemy, numRareEnemy]
].forEach(function (pair) {
var type = pair[0];
var count = pair[1];
if (!type) {
return;
}
idx = 0;
spawned = 0;
while (type && idx < 200 && spawned < count) {
idx++;
for (i = 2; i < centers.length; i++) {
center = centers[i];
if (MapUtils.spawnInValidLocationInCircle(map, center, 3, type)) {
spawned++;
}
if(spawned >= count){
break;
}
}
}
});
Awesome. Glad I could help. Now, if only I could make it past lvl 5. I think I had been lucky previously and never encountered a quylthulg before. I've died 15 times in a row now despite having 53 lines of code specifically dedicated to SpawnRunPlayer units.
Even added 2 to both their movementDelay AND spawnDelay with no luck.