If limit for 1 reset per level
by design
why not limit by rising cd?
Reset cooldown has a 20 second cooldown. It shouldn’t be limited to once per level unless the level takes less than 20 seconds to run. Do you have a specific case where it won’t execute more than once?
i tested it on the various maps
that run 60 and over seconds
result is same
I used this code
hero.wait( 1 );
var firstSkill = "summon-burl";
var secondSkill = "summon-undead";
var thirdSkill = "summon-undead";
var initial_1 = hero.now();
hero.cast( firstSkill);
var skill_1 = hero.now();
console.log( "1 skill " + skill_1 );
console.log( "Diff " + ( skill_1 - initial_1) );
hero.resetCooldown( firstSkill );
var reset_1 = hero.now();
console.log( "reset 1 " + reset_1 );
console.log( "Diff " + ( reset_1 - skill_1 ) );
hero.cast( firstSkill );
var skill_2 = hero.now();
console.log( "2 skill " + skill_2 );
console.log( "Diff " + ( skill_2 - reset_1 ) );
hero.wait( 21 );
var initial_2 = hero.now();
hero.cast( secondSkill );
var skill_3 = hero.now();
console.log( "3 spell " + skill_3 );
console.log( "Diff " + ( skill_3 - initial_2 ) );
hero.resetCooldown( secondSkill );
//hero.resetCooldown( secondSkill );
var reset_2 = hero.now();
console.log( "reset 2 " + reset_2 );
console.log( "Diff " + ( reset_2 - skill_3 ) );
hero.cast( secondSkill );
var skill_4 = hero.now();
console.log( "4 skill " + skill_4 );
console.log( "Diff " + ( skill_4 - reset_2 ) );
hero.wait( 21 );
var initial_3 = hero.now();
hero.cast( thirdSkill );
var skill_5 = hero.now();
console.log( "5 spell " + skill_5 );
console.log( "Diff " + ( skill_5 - initial_3 ) );
hero.resetCooldown( thirdSkill );
//hero.resetCooldown( thirdSkill );
var reset_3 = hero.now();
console.log( "reset 3 " + reset_3 );
console.log( "Diff " + ( reset_3 - skill_5 ) );
hero.cast( thirdSkill );
var skill_6 = hero.now();
console.log( "6 skill " + skill_6 );
console.log( "Diff " + ( skill_6 - reset_3 ) );
while double testing it now
i have found that only
even attempts
of using hero.resetCooldown( );
experiencing problems
so
hero.resetCooldown(); - will work
hero.resetCooldown(); – will not work
hero.resetCooldown(); – will work
hero.resetCooldown(); – will not work
Solution is
double use
hero.resetCooldown( "skill" )
hero.resetCooldown( "skill" )
https://codecombat.com/play/level/noble-sacrifice?session=5817149fcac82e2900102f2b&observing=true