add performance skills

This commit is contained in:
iamBadgers committed 2026-10-20 17:19:48 -07:00
1 parent 4e30b49c6c
commit cb1bbe52e4
3 files changed
+10 -19

No files matched your search

+2
View File
@@ -6,6 +6,7 @@ import { Control } from "../skills/control";
import { Education } from "../skills/education"
import { Fighting } from "../skills/fighting"
import { Details } from "../details/details"
import { Performance } from "../skills/performance"
export function meta({ }: Route.MetaArgs) {
return [
@@ -31,6 +32,7 @@ export default function Home() {
<div className="flex-col stats-and-skills-skill-column">
<Education />
<Fighting />
<Performance />
</div>
</main >
);
+6 -18
View File
@@ -11,7 +11,7 @@ const sk = await
fetch(`${baseUrl}/characters/collateral/skills.json`)
.then(r => r.json());
export function Fighting() {
export function Performance() {
const [stats, setStats] = useState(st)
const [skills, setSkills] = useState(sk)
@@ -21,7 +21,7 @@ export function Fighting() {
<table className="cyber-table">
<thead>
<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%" }}>STAT</th>
<th style={{ width: "10%" }}>BASE</th>
@@ -29,22 +29,10 @@ export function Fighting() {
</thead>
<tbody>
<tr>
<td>BRAWLING</td>
<td>{skills.brawling}</td>
<td>{stats.dex}</td>
<td>{stats.dex + skills.brawling}</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>
<td>ACTING</td>
<td>{skills.acting}</td>
<td>{stats.cool}</td>
<td>{stats.cool + skills.acting}</td>
</tr>
</tbody>
</table>
+2 -1
View File
@@ -34,5 +34,6 @@
"wildernesssearch": 0,
"brawling": 2,
"evasion": 2,
"meleeweapons": 0
"meleeweapons": 0,
"acting": 6
}