Skip to content

Commit

Permalink
latents complete
Browse files Browse the repository at this point in the history
  • Loading branch information
izenn committed Apr 5, 2019
1 parent 2008b89 commit 612026a
Showing 8 changed files with 88 additions and 104 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*.json
**/.DS_Store
Binary file added .pad.pl.swp
Binary file not shown.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -13,15 +13,18 @@ Beta
----
* awakening lists/images
* super awakenings
* ~~beautify friend page~~
* redo tooltips
* ~~overhaul friend page~~
* redo tooltips for friend leads
* add tooltips to box pages?
* ~~add my teams list~~
* badge icons
* add self data
* add assists
* upload utility scripts (~~genevo~~, render, and cuttile)
* document how to get json
* document how to mine assets
* package for windows
* package for windows?
* lazy image loading

Thanks
------
Binary file removed docs/.index.html.swp
Binary file not shown.
151 changes: 65 additions & 86 deletions docs/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pad.json

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions pad.pl
Original file line number Diff line number Diff line change
@@ -114,9 +114,8 @@
<button type="button" class="collapsed" role="button" data-toggle="collapse" href="#collapseTwo"> Rem Plus </button>
<button type="button" class="collapsed" role="button" data-toggle="collapse" href="#collapseThree"> Mats </button>
<button onclick="topFunction()" id="topbutton" title="Go to top">Top</button>
</p>';
$output .= "<div id='collapseOne' class='panel-collapse collapse' data-parent='#buttonGroup'>
$output .= "\n<div id='collapseOne' class='panel-collapse collapse' data-parent='#buttonGroup'>
<table style='width: 100%'>
<tr>";

@@ -344,19 +343,19 @@
$latentarray[$l] = "<img src='images/latents/impatk.png' alt='Imp. ATK'>";
} elsif ( $latentarray[$l] =~ m/0000110/ ) {
$latentarray[$l] = "<img src='images/latents/imprcv.png' alt='Imp. RCV'>";
} elsif ( $latentarray[$l] =~ m/aaaaaaa/ ) {
} elsif ( $latentarray[$l] =~ m/0001010/ ) {
$latentarray[$l] = "<img src='images/latents/autoheal.png' alt='Auto-Heal'>";
} elsif ( $latentarray[$l] =~ m/0001000/ ) {
$latentarray[$l] = "<img src='images/latents/exttime.png' alt='Ext. Move Time'>";
} elsif ( $latentarray[$l] =~ m/aaaaaaa/ ) {
} elsif ( $latentarray[$l] =~ m/0001100/ ) {
$latentarray[$l] = "<img src='images/latents/firedr.png' alt='Fire Dmg. Red.'>";
} elsif ( $latentarray[$l] =~ m/aaaaaaa/ ) {
} elsif ( $latentarray[$l] =~ m/0001110/ ) {
$latentarray[$l] = "<img src='images/latents/waterdr.png' alt='Water Dmg. Red.'>";
} elsif ( $latentarray[$l] =~ m/aaaaaaa/ ) {
} elsif ( $latentarray[$l] =~ m/0010000/ ) {
$latentarray[$l] = "<img src='images/latents/wooddr.png' alt='Wood Dmg. Red.'>";
} elsif ( $latentarray[$l] =~ m/aaaaaaa/ ) {
} elsif ( $latentarray[$l] =~ m/0010010/ ) {
$latentarray[$l] = "<img src='images/latents/lightdr.png' alt='Light Dmg. Red.'>";
} elsif ( $latentarray[$l] =~ m/aaaaaaa/ ) {
} elsif ( $latentarray[$l] =~ m/0010100/ ) {
$latentarray[$l] = "<img src='images/latents/darkdr.png' alt='Dark Dmg. Red.'>";
} elsif ( $latentarray[$l] =~ m/0010110/ ) {
$latentarray[$l] = "<img src='images/latents/sdr.png' alt='Skill Delay Resist.'>";
@@ -375,7 +374,7 @@
} elsif ( $latentarray[$l] =~ m/0101110/ ) {
$latentarray[$l] = "<img src='images/latents/machinekiller.png' alt='Machine Killer'>";
splice @latentarray, $l+1, 1;
} elsif ( $latentarray[$l] =~ m/aaaaaaa/ ) {
} elsif ( $latentarray[$l] =~ m/0110000/ ) {
$latentarray[$l] = "<img src='images/latents/balancedkiller.png' alt='Balanced Killer'>";
splice @latentarray, $l+1, 1;
} elsif ( $latentarray[$l] =~ m/0110010/ ) {
@@ -384,7 +383,7 @@
} elsif ( $latentarray[$l] =~ m/0110100/ ) {
$latentarray[$l] = "<img src='images/latents/physicalkiller.png' alt='Physical Killer'>";
splice @latentarray, $l+1, 1;
} elsif ( $latentarray[$l] =~ m/aaaaaaa/ ) {
} elsif ( $latentarray[$l] =~ m/0110110/ ) {
$latentarray[$l] = "<img src='images/latents/healerkiller.png' alt='Healer Killer'>";
splice @latentarray, $l+1, 1;
} elsif ( $latentarray[$l] =~ m/0111000/ ) {
@@ -399,16 +398,16 @@
} elsif ( $latentarray[$l] =~ m/0111110/ ) {
$latentarray[$l] = "<img src='images/latents/exttimeplus.png' alt='Ext. Move Time+'>";
splice @latentarray, $l+1, 1;
} elsif ( $latentarray[$l] =~ m/aaaaaaa/ ) {
} elsif ( $latentarray[$l] =~ m/0100000/ ) {
$latentarray[$l] = "<img src='images/latents/evokiller.png' alt='Evo Material Killer'>";
splice @latentarray, $l+1, 1;
} elsif ( $latentarray[$l] =~ m/aaaaaaa/ ) {
} elsif ( $latentarray[$l] =~ m/0100010/ ) {
$latentarray[$l] = "<img src='images/latents/awokenkiller.png' alt='Awoken Material Killer'>";
splice @latentarray, $l+1, 1;
} elsif ( $latentarray[$l] =~ m/0100100/ ) {
$latentarray[$l] = "<img src='images/latents/enhancedkiller.png' alt='Enhanced Material Killer'>";
splice @latentarray, $l+1, 1;
} elsif ( $latentarray[$l] =~ m/aaaaaaa/ ) {
} elsif ( $latentarray[$l] =~ m/0100110/ ) {
$latentarray[$l] = "<img src='images/latents/redeemablekiller.png' alt='Redeemable Material Killer'>";
splice @latentarray, $l+1, 1;
} elsif ( $latentarray[$l] =~ m/0101100/ ) {
@@ -553,4 +552,6 @@
</body>
</html>';

print $output . "\n";
open (my $fh, '>', "docs/index.html");
print $fh $output;
close $fh;
1 change: 1 addition & 0 deletions paddata_processed_na_cards.json

Large diffs are not rendered by default.

0 comments on commit 612026a

Please sign in to comment.