<!DOCTYPE html>
<html>
<head>
	<title>等级属性查看器</title>
	<meta charset="UTF-8">
	<style type="text/css">
		table {
			border-collapse: collapse;
			margin: 20px auto;
		}
		th, td {
			border: 1px solid black;
			padding: 10px;
			text-align: center;
		}
		th {
			background-color: #eee;
		}
	</style>
</head>
<body>
	<h1>等级属性查看器</h1>
	<table>
		<thead>
			<tr>
				<th>等级</th>
				<th>意志</th>
				<th>骨</th>
				<th>属性点</th>
			</tr>
		</thead>
		<tbody>
			<?php
				for ($i=1; $i<=1000; $i++) {
					$willpower = $i * 15;
					$bone = $i * 10;
					$attribute_points = ($i <= 1000) ? 2 : 1;
					echo "<tr>
							<td>$i</td>
							<td>$willpower</td>
							<td>$bone</td>
							<td>$attribute_points</td>
						</tr>";
				}
			?>
		</tbody>
	</table>
</body>
</html>
帮我生成一个HTML页面等级属性查看器1-1000级每级给2点1点15的意志1点10的骨1000级以后每升一级给1点属性点可以自己任意分配。

原文地址: https://www.cveoy.top/t/topic/bEL3 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录