la-cosa-nostra
Version:
A Mafia bot designed to run in Discord - beware the traitors and the lies!
23 lines (17 loc) • 577 B
JavaScript
var rs = require("../../../rolesystem/rolesystem.js");
var auxils = require("../../../systems/auxils.js");
module.exports = function (actionable, game, params) {
// Visit the target
game.execute("visit", {visitor: actionable.from,
target: actionable.to,
priority: actionable.priority,
reason: "Nightwatcher-watch"});
game.addAction("nightwatcher/gather", ["cycle"], {
name: "Nightwatcher-gather",
expiry: 1,
from: actionable.from,
to: actionable.to,
priority: 12
});
};
module.exports.TAGS = ["roleblockable", "drivable", "visit"];