forked from One-Piece-Online/OPOnline
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzzSetChecker.php
More file actions
26 lines (22 loc) · 824 Bytes
/
zzSetChecker.php
File metadata and controls
26 lines (22 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
include 'GameLogic.php';
include './zzImageConverter.php';
$set = "OUT";
$count = 0;
for ($number = 0; $number < 300; ++$number) {
$card = strval($number);
if ($number < 10) $card = "0" . $card;
if ($number < 100) $card = "0" . $card;
$card = $set . $card;
$type = CardType($card);
if ($type == "") {
echo ($card . " not found.<br>");
++$count;
}
if($type == "AR" && AttackValue($card) != 0) echo($card . " Attack Reaction has attack " . AttackValue($card) . ".<BR>");
if ($type == "AA" && $card != "EVR138" && AttackValue($card) == 0) echo ($card . " Attack action has no attack.<br>");
if (($type != "C" && $type != "E" && $type != "W" && $type != "T") && PitchValue($card) == 0) echo ($card . " has no pitch value.<br>");
CheckImage($card);
}
echo ("Total missing: " . $count);
?>