hearthbreaker icon indicating copy to clipboard operation
hearthbreaker copied to clipboard

Neptulon will not work with replays

Open danielyule opened this issue 10 years ago • 3 comments

Because the list of all minions is in a different order every time the game is run, neptulon will choose different murlocs every time. Thus, the replay cannot guarantee accuracy.

danielyule avatar Feb 26 '15 16:02 danielyule

As Neptulon is implemented right now, I believe the list is in the same order every time.

But if you change the CardQuery from:

CardQuery(source=CARD_SOURCE.LIST, source_list=murloc_list)

to:

CardQuery(conditions=[IsType(MINION_TYPE.MURLOC)])

so will it be in a different order every time.

Ragowit avatar Feb 26 '15 16:02 Ragowit

Whoops, I didn't actually look at Neptulon. I just assumed it was the second way, which is probably how it ought to be.

danielyule avatar Feb 26 '15 16:02 danielyule

The thing is, any card that implement CardQuery in the second way will probably get different results every time. Webspinner as an example.

Ragowit avatar Feb 26 '15 19:02 Ragowit