HeroWarsHelper

Automation of actions for the game Hero Wars

< Opinie na HeroWarsHelper

Ocena: Dobry - skrypt działa

I would like modify the script to refresh dungeon treasure for 50ems.
I wonder if need check item type? as in game when you get the totem then refresh button is not showing. So in theory such calls should work?

const [reward] = await Caller.send([
{ name: 'heroTalent_getReward', args: { talentType: 'tmntDungeonTalent', reroll: false } },
{ name: 'heroTalent_getReward', args: { talentType: 'tmntDungeonTalent', reroll: true} },
{ name: 'heroTalent_farmReward', args: { talentType: 'tmntDungeonTalent' } },
]);

Just send extra request with reroll, without checking item type of the first.

Odpowiedz

Zaloguj się, by odpowiedzieć.