Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Malin Freeborn
config
Commits
2b4ebc7c
Unverified
Commit
2b4ebc7c
authored
1 year ago
by
Malin Freeborn
Browse files
Options
Downloads
Patches
Plain Diff
make \showWweapon command
parent
953c0cb4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arms.sty
+8
-0
8 additions, 0 deletions
arms.sty
docs.tex
+3
-3
3 additions, 3 deletions
docs.tex
with
11 additions
and
3 deletions
arms.sty
+
8
−
0
View file @
2b4ebc7c
...
...
@@ -36,6 +36,14 @@
#2
%
}
%% Use this to show weapons in tables.
%% Remember to close it with '\\' after.
%% It remains unterminated so you can add Costs.
\newcommand\showWeapon
[1]
{
%
#1
&
\arabic
{
weaponBonus
}
&
\arabic
{
damage
}
&
\arabic
{
heft
}
&
\arabic
{
weight
}
}
% Shields work much like weapons, except that their Bonus is high, their initiative cost is low, but their attack is poor.
\newcommand\shield
[3][]
{
...
...
This diff is collapsed.
Click to expand it.
docs.tex
+
3
−
3
View file @
2b4ebc7c
...
...
@@ -299,11 +299,11 @@ When when a creature wields the weapon, those stats raise the creature's stats.
\textbf
{
Name
}
&
\textbf
{
Attack Bonus
}
&
\textbf
{
Dam.
}
&
\textbf
{
\Glsentrytext
{
ap
}
Cost
}
&
\textbf
{
Weight
}
\\\hline
\
Dagger
&
\arabic
{
weaponBonus
}
&
\arabic
{
damage
}
&
\arabic
{
heft
}
&
\arabic
{
weight
}
\\
\
showWeapon
{
\Dagger
}
\\
\
greataxe
&
\arabic
{
weaponBonus
}
&
\arabic
{
damage
}
&
\arabic
{
heft
}
&
\arabic
{
weight
}
\\
\
showWeapon
{
\greataxe
}
\\
\s
pear
&
\arabic
{
weaponBonus
}
&
\arabic
{
damage
}
&
\arabic
{
heft
}
&
\arabic
{
weight
}
\\
\s
howWeapon
{
\spear
}
\\
\end{nametable}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment