Updated superfan playbook
This commit is contained in:
parent
98ea07c908
commit
84b8234e3a
@ -76,24 +76,45 @@ export class HenchDataModel extends foundry.abstract.TypeDataModel {
|
||||
static migrateData(source) {
|
||||
// Draft 0 -> Draft 1
|
||||
if(!source.version || source.version === versions.DRAFT_0) {
|
||||
// Changes
|
||||
// Update stress cap.
|
||||
if(source.stress > 8) {
|
||||
source.stress = 8;
|
||||
}
|
||||
|
||||
// Add exp trigger.
|
||||
source.experienceTriggers.splice(2, 0, {
|
||||
marked: false,
|
||||
description: "You got on the boss's nerves.",
|
||||
});
|
||||
|
||||
source.version = versions.DRAFT_1;
|
||||
source = this.migrateFromDraft0(source);
|
||||
}
|
||||
|
||||
return super.migrateData(source);
|
||||
}
|
||||
|
||||
static migrateFromDraft0(source) {
|
||||
// Update stress cap.
|
||||
if(source.stress > 8) {
|
||||
source.stress = 8;
|
||||
}
|
||||
|
||||
// Add exp trigger.
|
||||
source.experienceTriggers.splice(2, 0, {
|
||||
marked: false,
|
||||
description: "You got on the boss's nerves.",
|
||||
});
|
||||
|
||||
// Update playbooks details
|
||||
const playbook = lookupPlaybook(source.playbook);
|
||||
switch(source.playbook) {
|
||||
case "SUPERFAN":
|
||||
// Change first detail. Wipe response.
|
||||
source.details[0] = playbook.details[0];
|
||||
|
||||
// Update forum lurker. retain 'marked'
|
||||
const forumLurkerMarked = source.moves[4].marked;
|
||||
source.moves[4] = playbook.moves[4];
|
||||
source.moves[4].marked = forumLurkerMarked;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
source.version = versions.DRAFT_1;
|
||||
|
||||
return source;
|
||||
}
|
||||
|
||||
/** @override */
|
||||
async _preCreate(data, options, user) {
|
||||
await super._preCreate(data, options, user);
|
||||
|
@ -185,7 +185,7 @@ const playbooks = {
|
||||
{
|
||||
marked: false,
|
||||
name: "Forum Lurker",
|
||||
description: `As a downtime move you can trawl the web for information about a piece of the setting. State a single fact about this thing and draw. Ignore the cue, and use the rank:
|
||||
description: `As a prep action you can trawl the web for information about a piece of the setting. State a single fact about this thing and draw. Ignore the cue, and use the rank:
|
||||
<ul class="hench-list-1-col">
|
||||
<li>1-2 — You learn your information is correct but flawed.</li>
|
||||
<li>3-6 — You learn your information is false but holds a kernel of truth.</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user