UNPKG

ggejs

Version:

A powerful JavaScript library for interacting with the server of Goodgame Empire: Four Kingdoms

39 lines (30 loc) 1.01 kB
const Localize = require("../../tools/Localize"); const HeroBoosterShop = require("./HeroBoosterShop"); const Good = require("../Good"); class CastleTaxCollectorPremiumShop extends HeroBoosterShop { #client; /** @param {Client} client*/ constructor(client) { super(client, "bribe_taxcollector", "bribe_taxcollector_copy", "dialog_bribetaxcollector_copy", new Good(client, ["C2", 750]), "taxcollector", 8); this.#client = client } get durationInSeconds() { return 604800; } get bonus() { return Localize.text(this.#client, "value_percentage", "20"); } get listSortPriority() { return 655 } renewText() { return Localize.text(this.#client, "dialog_bribetaxcollector2_copy"); } get iconMcClass() { return "char_taxcollector_normal" } get effectIconId() { return "icon_currency_currency1" } } module.exports = CastleTaxCollectorPremiumShop