cosa-nostra-backstabbers
Version:
Turbo Mafia bot based off LCN
20 lines (12 loc) • 477 B
JavaScript
var lcn = require("../../../../../source/lcn.js");
var rs = lcn.rolesystem;
module.exports = function (actionable, game, params) {
// Seen as a visit
game.execute("visit", {visitor: actionable.from,
target: actionable.to,
priority: actionable.priority,
reason: "EOW-frame"});
var target = game.getPlayerByIdentifier(actionable.to);
target.setGameStat("detection-immunity", -1, "set");
};
module.exports.TAGS = ["drivable", "roleblockable", "visit"];