Skip to content

Commit

Permalink
add new powers
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonXLF committed Jul 11, 2023
1 parent 7c98a24 commit 7fb8293
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
9 changes: 9 additions & 0 deletions common/constants/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,15 @@ export const STATS_DATA = {
suffix: "",
color: "3",
},
combat_wisdom: {
name: "Combat Wisdom",
nameLore: "Combat Wisdom",
nameShort: "Combat Wisdom",
nameTiny: "CW",
symbol: "☯",
suffix: "",
color: "3",
},
mana_regen: {
name: "Mana Regen",
nameLore: "Mana Regen",
Expand Down
53 changes: 53 additions & 0 deletions src/constants/powers.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,22 @@ export const POWERS = {
ability_damage: 5,
},
},
bubba: {
type: "Master Stone",
texture_path: "/item/BUBBA_BLISTER",
stats: {
strength: 6,
crit_damage: 10.8,
defense: -9.6,
true_defense: 1.2,
bonus_attack_speed: 1.8,
health: 5.1,
crit_chance: 0.9,
},
unique: {
combat_wisdom: 2,
},
},
demonic: {
type: "Master Stone",
texture_path: "/item/HORNS_OF_TORMENT",
Expand Down Expand Up @@ -117,6 +133,20 @@ export const POWERS = {
bonus_attack_speed: 10,
},
},
crumbly: {
type: "Advanced Stone",
texture_path: "/item/CHOCOLATE_CHIP",
stats: {
mending: 1.8,
intelligence: 5.4,
true_defense: 0.6,
vitality: 2.4,
health: 10.1,
},
unique: {
speed: 25,
},
},
forceful: {
type: "Advanced Stone",
texture_path: "/item/ACACIA_BIRDHOUSE",
Expand Down Expand Up @@ -206,6 +236,19 @@ export const POWERS = {
speed: 5,
},
},
sanguisuge: {
type: "Starter",
texture_path: "/item/DISPLACED_LEECH",
stats: {
strength: 12,
vitality: 1.2,
crit_damage: 4.8,
health: 5.1,
},
unique: {
intelligence: 100,
},
},
commando: {
type: "Intermediate",
id: 280,
Expand All @@ -216,6 +259,7 @@ export const POWERS = {
crit_chance: 0.475,
crit_damage: 8.4,
},
unlocked_at: 15,
},
disciplined: {
type: "Intermediate",
Expand All @@ -227,6 +271,7 @@ export const POWERS = {
crit_chance: 1.45,
crit_damage: 7.2,
},
unlocked_at: 15,
},
inspired: {
type: "Intermediate",
Expand All @@ -240,6 +285,7 @@ export const POWERS = {
crit_chance: 0.95,
crit_damage: 3.6,
},
unlocked_at: 15,
},
ominous: {
type: "Intermediate",
Expand All @@ -253,6 +299,7 @@ export const POWERS = {
crit_damage: 3.6,
bonus_attack_speed: 0.9,
},
unlocked_at: 15,
},
prepared: {
type: "Intermediate",
Expand All @@ -264,6 +311,7 @@ export const POWERS = {
crit_chance: 0.4,
crit_damage: 0.95,
},
unlocked_at: 15,
},
fortuitous: {
type: "Starter",
Expand All @@ -275,6 +323,7 @@ export const POWERS = {
crit_chance: 4.35,
crit_damage: 4.8,
},
unlocked_at: 0,
},
pretty: {
type: "Starter",
Expand All @@ -289,6 +338,7 @@ export const POWERS = {
crit_chance: 0.475,
crit_damage: 1.2,
},
unlocked_at: 0,
},
protected: {
type: "Starter",
Expand All @@ -300,6 +350,7 @@ export const POWERS = {
crit_chance: 0.475,
crit_damage: 1.2,
},
unlocked_at: 0,
},
simple: {
type: "Starter",
Expand All @@ -313,6 +364,7 @@ export const POWERS = {
crit_chance: 1.45,
crit_damage: 3.6,
},
unlocked_at: 0,
},
warrior: {
type: "Starter",
Expand All @@ -324,6 +376,7 @@ export const POWERS = {
crit_chance: 2.4,
crit_damage: 6,
},
unlocked_at: 0,
},
};

Expand Down
1 change: 1 addition & 0 deletions src/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ function getPower(name, magicalPower) {
itemData.tag.display.Lore = lore;
itemData.power_type = info.type;
itemData.stats = combined;
itemData.unlocked_at = info.unlocked_at;
}

return helper.generateItem(itemData);
Expand Down

0 comments on commit 7fb8293

Please sign in to comment.