Skip to content

Commit

Permalink
Fix Izanagi-no-Okami
Browse files Browse the repository at this point in the history
  • Loading branch information
chinhodado committed Dec 19, 2020
1 parent 5c859fd commit 7009591
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/Data5Royal.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ var arcana2CombosRoyal = [
{ 'source': ['Faith', 'Faith'], 'result': 'Faith' },
{ 'source': ['Faith', 'Councillor'], 'result': 'Priestess' },
{ 'source': ['Councillor', 'Councillor'], 'result': 'Councillor' },
{ 'source': ['World', 'World'], 'result': 'World' },
];
var specialCombosRoyal = [
{ result: 'Alice', sources: ["Belial", "Nebiros"] },
Expand Down
1 change: 1 addition & 0 deletions data/Data5Royal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ const arcana2CombosRoyal = [
{'source': ['Faith', 'Faith' ], 'result': 'Faith' },
{'source': ['Faith', 'Councillor' ], 'result': 'Priestess' },
{'source': ['Councillor', 'Councillor' ], 'result': 'Councillor' },
{'source': ['World', 'World' ], 'result': 'World' },
];

const specialCombosRoyal = [
Expand Down
4 changes: 4 additions & 0 deletions src/DataUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ var customPersonaeByArcana = (function () {
for (var key in personaeByArcana_) {
personaeByArcana_[key].sort(function (a, b) { return a.level - b.level; });
}
// Make sure this is always there regardless of DLC setting
if (!personaeByArcana_['World']) {
personaeByArcana_['World'] = [];
}
return personaeByArcana_;
})();
var arcanaMap = (function () {
Expand Down
5 changes: 5 additions & 0 deletions src/DataUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ const customPersonaeByArcana : {[arcana: string]: PersonaData[]} = (() =>{
personaeByArcana_[key].sort((a,b) => a.level - b.level);
}

// Make sure this is always there regardless of DLC setting
if (!personaeByArcana_['World']) {
personaeByArcana_['World'] = [];
}

return personaeByArcana_;
})();

Expand Down

1 comment on commit 7009591

@Digitale9
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is for how ever can change the "Vitality of the Tree" trait on https://chinhodado.github.io/persona5_calculator/indexRoyal.html#/skill the trait Allows use of surrounded-only skills under normal conditions

Please sign in to comment.