mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2025-11-06 17:46:08 +00:00
Compare commits
1 Commits
dev
...
features/r
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
993840d2fc |
@@ -12,45 +12,45 @@ import {
|
|||||||
} from "../create-stat-filters";
|
} from "../create-stat-filters";
|
||||||
import type { StatFilter } from "../interfaces";
|
import type { StatFilter } from "../interfaces";
|
||||||
|
|
||||||
const RESISTANCES_INFO = [
|
// const RESISTANCES_INFO = [
|
||||||
// {
|
// {
|
||||||
// ref: stat("+#% to All Resistances"),
|
// ref: stat("+#% to All Resistances"),
|
||||||
// elements: ["fire", "cold", "lightning"],
|
// elements: ["fire", "cold", "lightning"],
|
||||||
// chaos: true,
|
// chaos: true,
|
||||||
// },
|
// },
|
||||||
{
|
// {
|
||||||
ref: stat("+#% to all Elemental Resistances"),
|
// ref: stat("+#% to all Elemental Resistances"),
|
||||||
elements: ["fire", "cold", "lightning"],
|
// elements: ["fire", "cold", "lightning"],
|
||||||
},
|
// },
|
||||||
{ ref: stat("+#% to Fire Resistance"), elements: ["fire"] },
|
// { ref: stat("+#% to Fire Resistance"), elements: ["fire"] },
|
||||||
{ ref: stat("+#% to Cold Resistance"), elements: ["cold"] },
|
// { ref: stat("+#% to Cold Resistance"), elements: ["cold"] },
|
||||||
{ ref: stat("+#% to Lightning Resistance"), elements: ["lightning"] },
|
// { ref: stat("+#% to Lightning Resistance"), elements: ["lightning"] },
|
||||||
// {
|
// {
|
||||||
// ref: stat("+#% to Fire and Lightning Resistances"),
|
// ref: stat("+#% to Fire and Lightning Resistances"),
|
||||||
// elements: ["fire", "lightning"],
|
// elements: ["fire", "lightning"],
|
||||||
// },
|
// },
|
||||||
// { ref: stat("+#% to Fire and Cold Resistances"), elements: ["fire", "cold"] },
|
// { ref: stat("+#% to Fire and Cold Resistances"), elements: ["fire", "cold"] },
|
||||||
// {
|
// {
|
||||||
// ref: stat("+#% to Cold and Lightning Resistances"),
|
// ref: stat("+#% to Cold and Lightning Resistances"),
|
||||||
// elements: ["cold", "lightning"],
|
// elements: ["cold", "lightning"],
|
||||||
// },
|
// },
|
||||||
// { ref: stat("+#% to Chaos Resistance"), elements: [""], chaos: true },
|
// { ref: stat("+#% to Chaos Resistance"), elements: [""], chaos: true },
|
||||||
// {
|
// {
|
||||||
// ref: stat("+#% to Fire and Chaos Resistances"),
|
// ref: stat("+#% to Fire and Chaos Resistances"),
|
||||||
// elements: ["fire"],
|
// elements: ["fire"],
|
||||||
// chaos: true,
|
// chaos: true,
|
||||||
// },
|
// },
|
||||||
// {
|
// {
|
||||||
// ref: stat("+#% to Cold and Chaos Resistances"),
|
// ref: stat("+#% to Cold and Chaos Resistances"),
|
||||||
// elements: ["cold"],
|
// elements: ["cold"],
|
||||||
// chaos: true,
|
// chaos: true,
|
||||||
// },
|
// },
|
||||||
// {
|
// {
|
||||||
// ref: stat("+#% to Lightning and Chaos Resistances"),
|
// ref: stat("+#% to Lightning and Chaos Resistances"),
|
||||||
// elements: ["lightning"],
|
// elements: ["lightning"],
|
||||||
// chaos: true,
|
// chaos: true,
|
||||||
// },
|
// },
|
||||||
];
|
// ];
|
||||||
|
|
||||||
// const ATTRIBUTES_INFO = [
|
// const ATTRIBUTES_INFO = [
|
||||||
// { ref: stat("+# to all Attributes"), attributes: ["str", "dex", "int"] },
|
// { ref: stat("+# to all Attributes"), attributes: ["str", "dex", "int"] },
|
||||||
@@ -76,34 +76,34 @@ interface PseudoRule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const PSEUDO_RULES: PseudoRule[] = [
|
const PSEUDO_RULES: PseudoRule[] = [
|
||||||
{
|
// {
|
||||||
pseudo: stat("+#% total Elemental Resistance"),
|
// pseudo: stat("+#% total Elemental Resistance"),
|
||||||
disabled: false,
|
// disabled: false,
|
||||||
stats: RESISTANCES_INFO.filter((info) => info.elements.length).map(
|
// stats: RESISTANCES_INFO.filter((info) => info.elements.length).map(
|
||||||
(info) => ({ ref: info.ref, multiplier: info.elements.length }),
|
// (info) => ({ ref: info.ref, multiplier: info.elements.length }),
|
||||||
),
|
// ),
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
pseudo: stat("+#% total to Fire Resistance"),
|
// pseudo: stat("+#% total to Fire Resistance"),
|
||||||
group: "to_x_ele_res",
|
// group: "to_x_ele_res",
|
||||||
stats: RESISTANCES_INFO.filter((info) =>
|
// stats: RESISTANCES_INFO.filter((info) =>
|
||||||
info.elements.includes("fire"),
|
// info.elements.includes("fire"),
|
||||||
).map((info) => ({ ref: info.ref })),
|
// ).map((info) => ({ ref: info.ref })),
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
pseudo: stat("+#% total to Cold Resistance"),
|
// pseudo: stat("+#% total to Cold Resistance"),
|
||||||
group: "to_x_ele_res",
|
// group: "to_x_ele_res",
|
||||||
stats: RESISTANCES_INFO.filter((info) =>
|
// stats: RESISTANCES_INFO.filter((info) =>
|
||||||
info.elements.includes("cold"),
|
// info.elements.includes("cold"),
|
||||||
).map((info) => ({ ref: info.ref })),
|
// ).map((info) => ({ ref: info.ref })),
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
pseudo: stat("+#% total to Lightning Resistance"),
|
// pseudo: stat("+#% total to Lightning Resistance"),
|
||||||
group: "to_x_ele_res",
|
// group: "to_x_ele_res",
|
||||||
stats: RESISTANCES_INFO.filter((info) =>
|
// stats: RESISTANCES_INFO.filter((info) =>
|
||||||
info.elements.includes("lightning"),
|
// info.elements.includes("lightning"),
|
||||||
).map((info) => ({ ref: info.ref })),
|
// ).map((info) => ({ ref: info.ref })),
|
||||||
},
|
// },
|
||||||
// {
|
// {
|
||||||
// pseudo: stat("+#% total to Chaos Resistance"),
|
// pseudo: stat("+#% total to Chaos Resistance"),
|
||||||
// stats: RESISTANCES_INFO.filter((info) => info.chaos === true).map(
|
// stats: RESISTANCES_INFO.filter((info) => info.chaos === true).map(
|
||||||
|
|||||||
Reference in New Issue
Block a user