Skip to content

Commit 4bd1963

Browse files
author
Citrine (rocky)
committed
Fixed #521, I am the Firewall action.
1 parent 0ba6a2b commit 4bd1963

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

scripts/rolls/roll-helpers/matrix.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,9 @@ export class SR5_MatrixHelpers {
330330
let hits = cardData.roll.hits;
331331

332332
let effect = {
333-
name: `${game.i18n.format('SR5.MatrixActionIAmTheFirewall')} (${sourceActor.name})`,
333+
name: `${game.i18n.format('SR5.MatrixActionIAmTheFirewall')} (${sourceActor.name})`,
334334
type: "itemEffect",
335-
"system.target": game.i18n.localize("SR5.Firewall"),
335+
"system.target": game.i18n.localize("SR5.Defense"),
336336
"system.type": "matrixAction",
337337
"system.value": hits,
338338
"system.ownerID": sourceActor.id,
@@ -341,8 +341,8 @@ export class SR5_MatrixHelpers {
341341
"system.durationType": "round",
342342
"system.customEffects": {
343343
"0": {
344-
"category": "matrixAttributes",
345-
"target": "system.matrix.attributes.firewall",
344+
"category": "defenses",
345+
"target": "system.defenses.defend",
346346
"type": "value",
347347
"value": hits,
348348
"forceAdd": true,
@@ -351,7 +351,7 @@ export class SR5_MatrixHelpers {
351351
"system.gameEffect": game.i18n.localize("SR5.MatrixActionIAmTheFirewall_GE"),
352352
};
353353
await actor.createEmbeddedDocuments("Item", [effect]);
354-
ui.notifications.info(`${actor.name}${game.i18n.format('SR5.Colons')} ${game.i18n.format('SR5.EffectIncreaseFirewallDone', {hits: hits})}`);
354+
ui.notifications.info(`${actor.name}${game.i18n.format('SR5.Colons')} ${game.i18n.format('SR5.MatrixActionIAmTheFirewall')} (+${hits})`);
355355

356356
}
357357

0 commit comments

Comments
 (0)