mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Pseudo Legendary Class
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "123.5.1",
|
||||
"version": "123.5.2",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -65,11 +65,20 @@ module.exports = class Pokemon {
|
||||
return this.stats.hp + this.stats.atk + this.stats.def + this.stats.sAtk + this.stats.sDef + this.stats.spd;
|
||||
}
|
||||
|
||||
get pseudo() {
|
||||
if (!this.stats) return null;
|
||||
if (this.legendary || this.mythical || this.baby || this.missingno) return false;
|
||||
if (this.baseStatTotal !== 600) return false;
|
||||
if (this.chain.length !== 3) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
get class() {
|
||||
if (this.legendary) return 'legendary';
|
||||
if (this.mythical) return 'mythical';
|
||||
if (this.baby) return 'baby';
|
||||
if (this.missingno) return 'glitch';
|
||||
if (this.pseudo) return 'pseudo';
|
||||
return 'standard';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user