Feedback: Cursed Valley


#1

I am observing rather odd behavior for this level. Skeletons that have already been killed disappear, then reappear, fall over without being attacked, but now have 700 health. One of them didn’t fall over when it reappeared, so my hero killed it twice. When I tried to use chain-lightning as well, I failed the level, since Tharin’s health inexplicably dropped by about 700 around 45 seconds in and he died before a third skeleton showed up.


#2

Did you take a potion? The health is reduced for each second.


#3

I did take a potion at some point before the sudden drop, yes. I meant that from one second to another, Tharin’s health dropped by about 700, which was far more than it did on other seconds.


#4

hm, it’s weird. Could you show your code and maybe some errors in the web console?


#5

Sure thing.

while True:
    enemy = hero.findNearest(hero.findByType("skeleton"))
    # Attack only skeletons AND if they are on the "ogres" team.
    if enemy and enemy.team == "ogres":
        if hero.canCast("chain-lightning"):
            hero.cast("chain-lightning", enemy)
        else:
            hero.attack(enemy)
    
    item = hero.findNearest(hero.findItems())
    if hero.health < hero.maxHealth / 4 and item.type == "potion":
        hero.moveXY(item.pos.x, item.pos.y)
Console errors
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:183478
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:183531
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:183644
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:183698
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:183751
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:183852
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:183900
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:184090
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:184950
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:185063
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:185117
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:185170
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:185283
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:185337
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:185390
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:185491
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:185539
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:185696
Error in parsing value for 'background-image'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:187395
Unknown property 'user-select'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:188421
Error in parsing value for 'perspective'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:188466
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:188635
Unknown property '-moz-border-radius'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:188902
Unknown property '-moz-border-radius'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:190720
Unknown property '-moz-box-shadow'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:190863
Expected media feature name but found '-webkit-min-device-pixel-ratio'. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:191838
Expected media feature name but found 'min-device-pixel-ratio'. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:191941
Expected media feature name but found '-webkit-min-device-pixel-ratio'. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:192515
Expected media feature name but found 'min-device-pixel-ratio'. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:192618
Unknown property '-moz-border-radius'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:192934
Unknown property '-moz-box-shadow'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:193061
Expected media feature name but found '-webkit-min-device-pixel-ratio'. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:193463
Expected media feature name but found 'min-device-pixel-ratio'. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:193566
Expected media feature name but found '-webkit-min-device-pixel-ratio'. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:194174
Expected media feature name but found 'min-device-pixel-ratio'. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:194277
Expected media feature name but found '-webkit-min-device-pixel-ratio'. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:195534
Expected media feature name but found 'min-device-pixel-ratio'. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:195637
Unknown property '-moz-border-radius'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:196322
Unknown property '-moz-border-radius'.  Declaration dropped. inner-vuBXw6Y0cpOJ9eKnSw5g.css:1:196607
|Xipe Totec's Krieger| Generated random seed 900935365 of type submissionCount from sessionIDs 573503fa9adbc82500601f01 submissionCount 2 cursed-valley:43:10
: unreachable code after return statement aether.js:6682:0
: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create aether.js:84:0
|Xipe Totec's Krieger|   Loaded 415 of 600 (+1019ms) cursed-valley:43:10
|Xipe Totec's Krieger| The world ended in lost on frame 541 cursed-valley:43:10
SuperModel for Level loaded in 7695 ms cursed-valley:793:69
|Xipe Totec's Krieger| And it was so: (3.104ms per frame, 541 frames)
Simulation   : 1679ms 
Serialization: 25ms
Delivery     : 17ms cursed-valley:43:10
Expected ',' but found ')'. from DOM
Level unveiled after 8.48s cursed-valley:2711:1
Built sheet:  Knight                  126ms  Sync   (Portrait) app.js:1718:8
Should we start simulating? Cores: undefined Heap limit: undefined Load duration: 8479 cursed-valley:2878:1
Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message ace.js:1:51268


#6

Could you try this level without Lighting?


#7

I passed without chain lightning. I just thought you’d like to correct it so that people can pass using chain lightning as well.


#8

Of course. I tried to understand where the problem is. Thanks. I will experiment with lightinings.


#9

Thank you very much!


#10

Hi. Sorry for the long waiting. I reworked some things in that level and tried to pass it with “Emperor gloves” and chain-lightining - no problem. Could you check it again?


#11

There’s still a weird and sudden major drop in health, but it succeeded this time.


#12

@Bryukh So I was able to walk “around” the level :slight_smile:

I suggest adding barriers so that the player cannot walk off screen… Or is that how all of the levels are?


#13

Oh. I forgot boundaries. Thanks. Fixed.