la-cosa-nostra
Version:
A Mafia bot designed to run in Discord - beware the traitors and the lies!
27 lines (19 loc) • 613 B
JavaScript
var lcn = require("../../../../../source/lcn.js");
var rs = lcn.rolesystem;
var auxils = lcn.auxils;
module.exports = function (actionable, game, params) {
// Visit the target
game.execute("visit", {visitor: actionable.from,
target: actionable.to,
priority: actionable.priority,
reason: "Modular-visit"});
game.addAction("a/ability_watch/gather", ["cycle"], {
name: "Modular-gather",
expiry: 1,
from: actionable.from,
to: actionable.to,
priority: 12
});
rs.modular.attributeDecrement(...arguments);
};
module.exports.TAGS = ["roleblockable", "drivable", "visit"];