Skip to content

Commit

Permalink
Merge pull request larrychristensen#261 from codeGlaze/develop
Browse files Browse the repository at this point in the history
Fixes Sickle not working with Two-Weapon Fighting larrychristensen#251
  • Loading branch information
datdamnzotz authored Nov 27, 2019
2 parents 32ef687 + a65ed65 commit bcdae2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/cljc/orcpub/dnd/e5/weapons.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@
::type :simple,
::damage-die-count 1,
::melee? true,
:key :sickle
:key :sickle,
::light? true,
::link "https://en.wikipedia.org/wiki/Sickle"}
{::melee? true,
::versatile {::damage-die 8, ::damage-die-count 1},
Expand Down
6 changes: 4 additions & 2 deletions src/cljs/orcpub/dnd/e5/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -6912,7 +6912,7 @@
[:div.flex.w-100-p.flex-wrap
[spell-input-field "Casting Time" :casting-time spell "m-b-20"]
[spell-input-field "Range" :range spell "m-l-5 m-b-20"]
[spell-input-field "Duration" :duration spell "m-l-5 m-b-20"]]
]
[:div [:h2.f-s-24.f-w-b.m-b-10 "Components"]]
[:div.flex.w-100-p.flex-wrap
[component-checkbox :verbal spell]
Expand All @@ -6921,8 +6921,10 @@
[:div.m-b-20
[textarea-field
{:value (get-in spell [:components :material-component])
:on-change #(dispatch [::spells/set-material-component %])}]]
:on-change #(dispatch [::spells/set-material-component %])}]
]
[:div.w-100-p
[spell-input-field "Duration" :duration spell "m-b-20"]
[:div.f-s-24.f-w-b
"Description"]
[textarea-field
Expand Down

0 comments on commit bcdae2b

Please sign in to comment.