ZG loots and hide admin roles when registering

This commit is contained in:
peter
2020-04-12 02:53:04 +02:00
parent c888bf4514
commit a949085e62
5 changed files with 132 additions and 22 deletions
+7 -1
View File
@@ -281,6 +281,12 @@ export const T2:string[] = [
"Sabatons of Wrath"
]
export const ZGMounts = [
"Swift Zulian Tiger",
"Swift Razzashi Raptor",
"Primal Hakkari Idol"
]
export type AllItems = {
[tier in Tiers] : string[]
}
@@ -288,7 +294,7 @@ export type AllItems = {
export const allItems : AllItems = {
MC: T1,
BWL: T2,
ZG:[],
ZG: ZGMounts,
AQ20: [],
AQ40: [],
Naxx: []
-1
View File
@@ -142,7 +142,6 @@ export type User = {
username: string
pwhash: string
rank: Rank
currency?: number
} & {
[currency in Tiers]? : number
}
@@ -37,7 +37,7 @@
<nb-card>
<nb-card-body>
<nb-checkbox [(ngModel)]="showApplication" name="amMember" #checkbox><!--I am already a member-->I understand this is super beta and things might not work or are not very pretty</nb-checkbox>
<nb-checkbox [(ngModel)]="showApplication" name="amMember" #checkbox><!--I am already a member-->By creating an account I am okay with cookies on my machine</nb-checkbox>
<br />
<span > <!--*ngIf="showApplication"-->
@@ -21,7 +21,7 @@ export class RegisterComponent implements OnInit{
race: "Night Elf"
}
ranks = _Rank
ranks = _Rank.splice(5) //remove admin, gm, officer
classes = _Class
races = _Race
selectedClass : Class = "Warrior"