Skip to content

Commit

Permalink
feat: Added property powerId to killers
Browse files Browse the repository at this point in the history
Signed-off-by: Jaid <jaid.jsx@gmail.com>
  • Loading branch information
Jaid committed Jan 27, 2020
1 parent bd62b27 commit addaafa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/loaders/killers.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function normalize(id, killer) {
title: killer.title || `The ${titleCase(killer.shortTitle || id)}`,
visible: killer.visible === undefined ? true : killer.visible,
powerIconId: killer.powerIconId || killer.powerId,
powerId: killer.powerId,
}
const powerIconFolder = killer.powerIconFolder ? `${killer.powerIconFolder}/` : ""
normalizedKiller.powerIconPath = killer.powerIconPath || `UI/Icons/Powers/${powerIconFolder}iconPowers_${normalizedKiller.powerIconId}.png`
Expand Down

0 comments on commit addaafa

Please sign in to comment.