새 병종 이미지 반영. 전콘

병종 이미지가 64px보다 크더라도 64px에 맞춰 보이도록 변경
This commit is contained in:
2018-04-14 04:00:38 +09:00
parent 71af68f2a5
commit 10e7e65acd
11 changed files with 37 additions and 37 deletions
+20 -20
View File
@@ -399,11 +399,11 @@ function calc(cost, formnum) {
$ric = round($ric);
$cst = round($cst);
$l = $color[$i];
$weapImage = "{$images}/weap{$i}.jpg";
$weapImage = "{$images}/weap{$i}.png";
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
echo "
<tr height=64 bgcolor=$l>
<td background={$weapImage} align=center></td>
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
<td align=center>".getTypename($i)."</td>
<td align=center>{$att}</td>
<td align=center>{$def}</td>
@@ -449,11 +449,11 @@ function calc(cost, formnum) {
$ric = round($ric);
$cst = round($cst);
$l = $color[$i];
$weapImage = "{$images}/weap{$i}.jpg";
$weapImage = "{$images}/weap{$i}.png";
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
echo "
<tr height=64 bgcolor=$l>
<td background={$weapImage} align=center></td>
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
<td align=center>".getTypename($i)."</td>
<td align=center>{$att}</td>
<td align=center>{$def}</td>
@@ -499,11 +499,11 @@ function calc(cost, formnum) {
$ric = round($ric);
$cst = round($cst);
$l = $color[$i];
$weapImage = "{$images}/weap{$i}.jpg";
$weapImage = "{$images}/weap{$i}.png";
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
echo "
<tr height=64 bgcolor=$l>
<td background={$weapImage} align=center></td>
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
<td align=center>".getTypename($i)."</td>
<td align=center>{$att}</td>
<td align=center>{$def}</td>
@@ -549,11 +549,11 @@ function calc(cost, formnum) {
$ric = round($ric);
$cst = round($cst);
$l = $color[$i];
$weapImage = "{$images}/weap{$i}.jpg";
$weapImage = "{$images}/weap{$i}.png";
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
echo "
<tr height=64 bgcolor=$l>
<td background={$weapImage} align=center></td>
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
<td align=center>".getTypename($i)."</td>
<td align=center>{$att}</td>
<td align=center>{$def}</td>
@@ -599,11 +599,11 @@ function calc(cost, formnum) {
$ric = round($ric);
$cst = round($cst);
$l = $color[$i];
$weapImage = "{$images}/weap{$i}.jpg";
$weapImage = "{$images}/weap{$i}.png";
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
echo "
<tr height=64 bgcolor=$l>
<td background={$weapImage} align=center></td>
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
<td align=center>".getTypename($i)."</td>
<td align=center>{$att}</td>
<td align=center>{$def}</td>
@@ -833,11 +833,11 @@ function calc(cost, formnum) {
$ric = round($ric);
$cst = round($cst);
$l = $color[$i];
$weapImage = "{$images}/weap{$i}.jpg";
$weapImage = "{$images}/weap{$i}.png";
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
echo "
<tr height=64 bgcolor=$l>
<td background={$weapImage} align=center></td>
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
<td align=center>".getTypename($i)."</td>
<td align=center>{$att}</td>
<td align=center>{$def}</td>
@@ -883,11 +883,11 @@ function calc(cost, formnum) {
$ric = round($ric);
$cst = round($cst);
$l = $color[$i];
$weapImage = "{$images}/weap{$i}.jpg";
$weapImage = "{$images}/weap{$i}.png";
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
echo "
<tr height=64 bgcolor=$l>
<td background={$weapImage} align=center></td>
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
<td align=center>".getTypename($i)."</td>
<td align=center>{$att}</td>
<td align=center>{$def}</td>
@@ -933,11 +933,11 @@ function calc(cost, formnum) {
$ric = round($ric);
$cst = round($cst);
$l = $color[$i];
$weapImage = "{$images}/weap{$i}.jpg";
$weapImage = "{$images}/weap{$i}.png";
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
echo "
<tr height=64 bgcolor=$l>
<td background={$weapImage} align=center></td>
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
<td align=center>".getTypename($i)."</td>
<td align=center>{$att}</td>
<td align=center>{$def}</td>
@@ -983,11 +983,11 @@ function calc(cost, formnum) {
$ric = round($ric);
$cst = round($cst);
$l = $color[$i];
$weapImage = "{$images}/weap{$i}.jpg";
$weapImage = "{$images}/weap{$i}.png";
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
echo "
<tr height=64 bgcolor=$l>
<td background={$weapImage} align=center></td>
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
<td align=center>".getTypename($i)."</td>
<td align=center>{$att}</td>
<td align=center>{$def}</td>
@@ -1033,11 +1033,11 @@ function calc(cost, formnum) {
$ric = round($ric);
$cst = round($cst);
$l = $color[$i];
$weapImage = "{$images}/weap{$i}.jpg";
$weapImage = "{$images}/weap{$i}.png";
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
echo "
<tr height=64 bgcolor=$l>
<td background={$weapImage} align=center></td>
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
<td align=center>".getTypename($i)."</td>
<td align=center>{$att}</td>
<td align=center>{$def}</td>