add performance skills
This commit is contained in:
1 parent
4e30b49c6c
commit
cb1bbe52e4
3 files changed
+10
-19
No files matched your search
@@ -6,6 +6,7 @@ import { Control } from "../skills/control";
|
|||||||
import { Education } from "../skills/education"
|
import { Education } from "../skills/education"
|
||||||
import { Fighting } from "../skills/fighting"
|
import { Fighting } from "../skills/fighting"
|
||||||
import { Details } from "../details/details"
|
import { Details } from "../details/details"
|
||||||
|
import { Performance } from "../skills/performance"
|
||||||
|
|
||||||
export function meta({ }: Route.MetaArgs) {
|
export function meta({ }: Route.MetaArgs) {
|
||||||
return [
|
return [
|
||||||
@@ -31,6 +32,7 @@ export default function Home() {
|
|||||||
<div className="flex-col stats-and-skills-skill-column">
|
<div className="flex-col stats-and-skills-skill-column">
|
||||||
<Education />
|
<Education />
|
||||||
<Fighting />
|
<Fighting />
|
||||||
|
<Performance />
|
||||||
</div>
|
</div>
|
||||||
</main >
|
</main >
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const sk = await
|
|||||||
fetch(`${baseUrl}/characters/collateral/skills.json`)
|
fetch(`${baseUrl}/characters/collateral/skills.json`)
|
||||||
.then(r => r.json());
|
.then(r => r.json());
|
||||||
|
|
||||||
export function Fighting() {
|
export function Performance() {
|
||||||
|
|
||||||
const [stats, setStats] = useState(st)
|
const [stats, setStats] = useState(st)
|
||||||
const [skills, setSkills] = useState(sk)
|
const [skills, setSkills] = useState(sk)
|
||||||
@@ -21,7 +21,7 @@ export function Fighting() {
|
|||||||
<table className="cyber-table">
|
<table className="cyber-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style={{ width: "70%" }}>FIGHTING SKILLS</th>
|
<th style={{ width: "70%" }}>PERFORMANCE SKILLS</th>
|
||||||
<th style={{ width: "10%" }}>RANKS</th>
|
<th style={{ width: "10%" }}>RANKS</th>
|
||||||
<th style={{ width: "10%" }}>STAT</th>
|
<th style={{ width: "10%" }}>STAT</th>
|
||||||
<th style={{ width: "10%" }}>BASE</th>
|
<th style={{ width: "10%" }}>BASE</th>
|
||||||
@@ -29,22 +29,10 @@ export function Fighting() {
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>BRAWLING</td>
|
<td>ACTING</td>
|
||||||
<td>{skills.brawling}</td>
|
<td>{skills.acting}</td>
|
||||||
<td>{stats.dex}</td>
|
<td>{stats.cool}</td>
|
||||||
<td>{stats.dex + skills.brawling}</td>
|
<td>{stats.cool + skills.acting}</td>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>EVASION</td>
|
|
||||||
<td>{skills.evasion}</td>
|
|
||||||
<td>{stats.dex}</td>
|
|
||||||
<td>{stats.dex + skills.evasion}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>MELEE WEAPONS</td>
|
|
||||||
<td>{skills.meleeweapons}</td>
|
|
||||||
<td>{stats.dex}</td>
|
|
||||||
<td>{stats.dex + skills.meleeweapons}</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -34,5 +34,6 @@
|
|||||||
"wildernesssearch": 0,
|
"wildernesssearch": 0,
|
||||||
"brawling": 2,
|
"brawling": 2,
|
||||||
"evasion": 2,
|
"evasion": 2,
|
||||||
"meleeweapons": 0
|
"meleeweapons": 0,
|
||||||
|
"acting": 6
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user