Add old creation script

This commit is contained in:
Florian Stinglmayr 2016-11-30 16:57:33 +01:00
parent 1b309f5bb2
commit b0b6dc63b6

17
generate.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
for i in $(seq 1 10); do
cat <<EOF >>wondrous/abilities.yml
- name: Resistance +$i
school: abjuration
grade: faint
spell: ["Resistance"]
feats: ["Craft Wondrous Item"]
price: $(echo "($i^2)*1000" | bc)
description: >-
This item grants a +$i enhancement bonus to all saving throws (fortitude,
reflex, will).
EOF
done