Store incoming merchants
This commit is contained in:
@ -5,6 +5,7 @@ import { path } from '../utils';
|
||||
import { Task } from '../Queue/TaskQueue';
|
||||
import { TaskController, registerTask } from './TaskController';
|
||||
import { grabVillageList } from '../Page/VillageBlock';
|
||||
import { MARKET_ID } from '../Core/Buildings';
|
||||
|
||||
@registerTask
|
||||
export class GrabVillageState extends TaskController {
|
||||
@ -21,6 +22,12 @@ export class GrabVillageState extends TaskController {
|
||||
path: path('/dorf1.php', { newdid: village.id }),
|
||||
})
|
||||
);
|
||||
actions.push(
|
||||
new Command(GoToPageAction.name, {
|
||||
...args,
|
||||
path: path('/build.php', { newdid: village.id, gid: MARKET_ID, t: 5 }),
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
actions.push(new Command(CompleteTaskAction.name, args));
|
||||
|
Reference in New Issue
Block a user