Skip to content

Commit

Permalink
✨ Add the newest legends
Browse files Browse the repository at this point in the history
  • Loading branch information
barbarbar338 committed Nov 5, 2023
1 parent 3fdd363 commit 2f7da0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
11 changes: 7 additions & 4 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export default {
"lord vraxx":
"https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_VraxxM-1.png",
gnash: "https://cms.brawlhalla.com/c/uploads/2021/07/gnash.png",
nai: "https://cms.brawlhalla.com/c/uploads/2021/07/nai.png",
"queen nai": "https://cms.brawlhalla.com/c/uploads/2021/07/nai.png",
hattori: "https://cms.brawlhalla.com/c/uploads/2021/07/hattori.png",
roland: "https://cms.brawlhalla.com/c/uploads/2021/07/roland.png",
"sir roland": "https://cms.brawlhalla.com/c/uploads/2021/07/roland.png",
scarlet: "https://cms.brawlhalla.com/c/uploads/2021/07/scarlet.png",
thatch: "https://cms.brawlhalla.com/c/uploads/2021/07/thatch.png",
ada: "https://cms.brawlhalla.com/c/uploads/2021/07/ada.png",
Expand All @@ -41,15 +41,15 @@ export default {
diana: "https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_MonsterHunterM.png",
jhala: "https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_BarbarianM.png",
kor: "https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_GolemM.png",
wushang:
"wu shang":
"https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_MonkM.png",
val: "https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_ValM.png",
ragnir: "https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_DragonM.png",
cross: "https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_CrossM.png",
mirage: "https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_AssassinM.png",
nix: "https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_ReaperM.png",
mordex: "https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_WerewolfM.png",
yumeko: "https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_KitsuneM.png",
yumiko: "https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_KitsuneM.png",
artemis:
"https://cms.brawlhalla.com/c/uploads/2021/07/a_Roster_Pose_SpaceHunterM.png",
caspian:
Expand Down Expand Up @@ -80,5 +80,8 @@ export default {
ezio: "https://cms.brawlhalla.com/c/uploads/2022/07/a_Roster_Pose_EzioM.png",
tezca: "https://cms.brawlhalla.com/c/uploads/2022/12/a_Roster_Pose_LuchadorM.png",
loki: "https://cms.brawlhalla.com/c/uploads/2023/09/Loki_icon-1.png",
thea: "https://cms.brawlhalla.com/c/uploads/2023/03/a_Roster_Pose_SpeedsterM.png",
redraptor:
"https://cms.brawlhalla.com/c/uploads/2023/06/a_Roster_Pose_SentaiM.png",
},
};
6 changes: 3 additions & 3 deletions src/dto/getLegendByID.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { Transform } from "class-transformer";
import { IsDefined, IsNumber, Max, Min, NotEquals } from "class-validator";

export class GetLegendByIDDTO {
//@NotEquals(27) new legend loki uses legend id 27
// @NotEquals(27) new legend loki uses legend id 27
// @NotEquals(17) new legend red raptor uses legend id 17
// @NotEquals(62) new legend thea uses legend id 62
@IsDefined()
@Transform((i) => parseInt(i.value))
@IsNumber()
@Min(3)
@Max(63)
@NotEquals(17)
@NotEquals(61)
@NotEquals(62)
legend_id: number;
}

0 comments on commit 2f7da0d

Please sign in to comment.