Add ward skins feat

This commit is contained in:
Blossomi Shymae
2024-05-02 09:20:37 -05:00
parent 32b961dd32
commit 6a9c89f92a
4 changed files with 95 additions and 1 deletions

View File

@@ -259,6 +259,14 @@ export class WardSkin extends CommunityDragonObject {
this.regionDescriptions = json.regionalDescriptions.map((x: any) => new Description(x));
this.rarities = json.rarities.map((x: any) => new Rarity(x));
}
getWardImage(version: string): string {
return this.resolveClientPath({path: this.wardImagePath, args: {locale: "default", version: version}});
}
getWardShadowImage(version: string): string {
return this.resolveClientPath({path: this.wardShadowImagePath, args: {locale: "default", version: version}});
}
}
export class Description extends CommunityDragonObject {