Skip to content

Commit

Permalink
PKA Filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Solaris333 committed Apr 1, 2024
1 parent bfeafa2 commit a661357
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion characters/js/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ angular.module('optc') .run(function($rootScope, $timeout, $storage) {
if (filters.noSupport && window.details[id]) if("support" in window.details[id]) return false;
if (filters.globalTM && [ 4111, 4112, 4113, 4107, 4089, 4100, 4102, 4108, 4103, 4104, 4105, 4106, 4109, 4096, 4097, 4082, 4084, 4086, 4087, 4088, 4098, 4066, 4074, 4078, 4079, 4080, 4085, 4063, 4068, 4067, 3443, 3936, 3022, 3094, 3965, 2879, 3915, 3567, 3981, 3416, 3364, 3462, 3483, 3523, 3543, 3563, 3641, 3735, 3775, 3861, 3933, 4003, 4050, 4071, 5393, 5394, 5395, 5396, 5516, 5517, 5518, 5519, 5551, 5552, 5553, 5554, 2936, 2938, 2940, 2942, 2944, 2946, 2948, 2950, 2952, 3884, 3886, 4054, 4058, 4060, 4062, 4064, 4065, 4056, 516, 1108, 1298, 1163, 5024, 2473, 2517, 2956, 3110, 3671, 1102, 1456, 2163, 2193, 2249, 2869, 2917, 3145, 3235, 3385, 4039, 5559, 5560, 5561, 5562, 5567, 5568, 5569, 5570, 5054, 5055, 5056, 5057, 3584, 3585, 3586, 3564, 3565, 4094, 4093, 4092, 4072, 4073, 3460, 3083, 3017, 2092, 1842, 2751, 392, 929, 2165 ].indexOf(id) == -1) return false;
if (filters.globalKC && [ 4115, 4116, 4100, 4102, 4103, 4104, 4105, 4106, 4108, 4111, 4112, 4113, 4068, 4067, 4109, 4118, 2860, 5571, 5572, 5573, 5210, 5211, 5212, 3886, 2936, 2938, 2940, 2942, 2944, 2946, 2948, 2950, 2952, 3884, 4107, 4096, 4097, 2729, 2831, 2792, 2977, 3510, 3550, 3609, 4080, 3376, 4079, 3891, 3870, 3973, 3824, 3508, 3917, 3308, 3616, 3617, 3900, 3912, 3949, 3974, 3987, 4030, 3825, 3737, 3938, 3509, 4055, 4034, 3866, 3488, 5192, 5193, 5194, 5488, 5489, 5490, 5491 ].indexOf(id) == -1) return false;
if (filters.globalPKA && [ 2936, 2940, 2938, 2942, 2944, 2948, 2946, 2952, 2950, 3884, 4025, 3999, 3976, 3952, 3927, 3885, 3305, 3304, 3353, 3382, 3401, 3400, 3425, 4021, 3874, 3903, 3887, 3855, 3835, 3796, 3815, 3795, 3770, 3743, 3750, 3728, 3713, 3678, 3657, 3620, 3634, 3601, 3560, 3579, 3559, 3520, 3539, 3518, 3481, 3498, 3477, 3436, 4047, 3886, 4033, 4067, 4068, 4041, 4043, 4044, 4045, 4046, 4053, 4056, 4058, 4065, 4066, 4060, 4062, 4063, 4064, 5559, 5560, 5561, 5562, 5567, 5568, 5569, 5570, 4074, 4080, 4078, 4079, 4087, 4086, 4085, 4082, 4084 ].indexOf(id) == -1) return false;
if (filters.globalPKA && [ 2936, 2940, 2938, 2942, 2944, 2948, 2946, 2952, 2950, 3884, 4066, 4047, 4025, 3999, 3976, 3952, 3927, 3885, 3247, 3286, 3287, 3305, 3304, 3353, 3382, 3401, 3400, 3425, 4021, 3874, 3903, 3887, 3855, 3835, 3796, 3815, 3795, 3770, 3743, 3750, 3728, 3713, 3678, 3657, 3620, 3634, 3601, 3560, 3579, 3559, 3520, 3539, 3518, 3481, 3498, 3477, 3436, 4088, 3886, 4074, 4053, 4033, 4119, 4107, 4100, 4102, 4103, 4104, 4105, 4106, 4098, 4089, 4082, 4084, 4087, 4086, 4085, 4120, 4118, 4108, 5571, 5572, 5573, 4125, 4126, 4122, 4124, 5578, 5579, 5580, 5581, 5586, 5587, 5588, 5589 ].indexOf(id) == -1) return false;

if (filters.comodorevsempress && [ 4100, 4102, 4103, 4104, 4105, 4106, 4107, 4109, 4089, 4098, 4096, 4097, 2897, 4082, 4084, 4087, 4086, 4085, 4088, 4092, 4093, 4094, 3886, 2936, 2938, 2940, 2942, 2944, 2946, 2948, 2950, 2952, 3884, 2729, 2831, 2792, 2977, 3154, 3739, 3280, 3641, 3532, 2037, 3296, 3297, 3294, 3635, 3287, 3293, 3283, 1445, 2434, 3038, 3452, 3780, 3352, 1743, 1741, 2996, 1745, 2998, 4029, 3738, 2795, 3466, 3942, 2990, 3295, 5192, 5193, 5194, 5307, 5308, 5309, 5172, 5173, 5174, 5175 ].indexOf(id) == -1) return false;

Expand Down
2 changes: 1 addition & 1 deletion characters/views/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
<span class="filter width-12 exc" ng-model="filters.globalKC" ng-class="{ active: filters.globalKC }"
ng-click="filters.globalKC = !filters.globalKC">Kizuna Clash Boosters [X Drake]</span>
<span class="filter width-12 exc" ng-model="filters.globalPKA" ng-class="{ active: filters.globalPKA }"
ng-click="filters.globalPKA = !filters.globalPKA">Pirate King Adventure Boosters [Lilith]</span>
ng-click="filters.globalPKA = !filters.globalPKA">Pirate King Adventure Boosters [CP0]</span>
<span class="filter width-12 exc" ng-model="filters.comodorevsempress" ng-class="{ active: filters.comodorevsempress }"
ng-click="filters.comodorevsempress = !filters.comodorevsempress">Blitz Battle Boosters [Commodore VS Empress]</span>
<!--span class="filter width-6 exc" ng-model="filters.japanKC" ng-class="{ active: filters.japanKC }"
Expand Down

0 comments on commit a661357

Please sign in to comment.