cutechicken commited on
Commit
a8eba40
·
verified ·
1 Parent(s): f20cef9

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +3 -3
index.html CHANGED
@@ -97,7 +97,7 @@
97
  <div style="display:flex; gap:20px;">
98
  <div id="tank1" style="text-align:center;">
99
  <h3>PZ.IV</h3>
100
- <img src="player2.png" width="100" height="45">
101
  <p>300 Gold</p>
102
  <p style="color: #4CAF50;">+50% HP</p>
103
  <button onclick="buyTank('player2.png', 300, 'tank1')">Buy</button>
@@ -279,8 +279,8 @@ function buyTank(tankImg, cost, tankId) {
279
  if (tankId === 'tank1') { // PZ.IV
280
  player.maxHealth = 1500;
281
  player.speed = defaultPlayerStats.speed; // 기본 이동속도로 복구
282
- player.width = 95; // PZ.IV의 크기 설정
283
- player.height = 55; // PZ.IV의 크기 설정
284
  }
285
  else if (tankId === 'tank2') { // TIGER
286
  player.maxHealth = 2000;
 
97
  <div style="display:flex; gap:20px;">
98
  <div id="tank1" style="text-align:center;">
99
  <h3>PZ.IV</h3>
100
+ <img src="player2.png" width="95" height="55">
101
  <p>300 Gold</p>
102
  <p style="color: #4CAF50;">+50% HP</p>
103
  <button onclick="buyTank('player2.png', 300, 'tank1')">Buy</button>
 
279
  if (tankId === 'tank1') { // PZ.IV
280
  player.maxHealth = 1500;
281
  player.speed = defaultPlayerStats.speed; // 기본 이동속도로 복구
282
+ player.width = 90; // PZ.IV의 크기 설정
283
+ player.height = 50; // PZ.IV의 크기 설정
284
  }
285
  else if (tankId === 'tank2') { // TIGER
286
  player.maxHealth = 2000;