File tree Expand file tree Collapse file tree 1 file changed +16
-17
lines changed
Expand file tree Collapse file tree 1 file changed +16
-17
lines changed Original file line number Diff line number Diff line change 30543054 carried-weapons))
30553055 :value main-hand-weapon-kw
30563056 :on-change (wield-handler ::char/wield-main-hand-weapon id)}]
3057- (prn carried-weapons)
3058- (if (or (equipped? off-hand-weapon-kw)
3057+ (if (or (equipped? off-hand-weapon-kw)
30593058 (and (equipped? main-hand-weapon-kw)
30603059 (dual-wield-weapon? main-hand-weapon)))
30613060 [equipped-section-dropdown
30783077 :value off-hand-weapon-kw
30793078 :on-change (wield-handler ::char/wield-off-hand-weapon id)}])
30803079 #_[:div.flex.flex-wrap
3081- [equipped-section-dropdown
3082- " Attuned Magic Item 1"
3083- {:items [none-item]
3084- :value nil
3085- :on-change (fn [])}]
3086- [equipped-section-dropdown
3087- " Attuned Magic Item 2"
3088- {:items [none-item]
3089- :value nil
3090- :on-change (fn [])}]
3091- [equipped-section-dropdown
3092- " Attuned Magic Item 3"
3093- {:items [none-item]
3094- :value nil
3095- :on-change (fn [])}]]])]])
3080+ [equipped-section-dropdown
3081+ " Attuned Magic Item 1"
3082+ {:items [none-item]
3083+ :value nil
3084+ :on-change (fn [])}]
3085+ [equipped-section-dropdown
3086+ " Attuned Magic Item 2"
3087+ {:items [none-item]
3088+ :value nil
3089+ :on-change (fn [])}]
3090+ [equipped-section-dropdown
3091+ " Attuned Magic Item 3"
3092+ {:items [none-item]
3093+ :value nil
3094+ :on-change (fn [])}]]])]])
30963095
30973096(defn combat-details [num-columns id]
30983097 (let [weapon-profs @(subscribe [::char/weapon-profs id])
You can’t perform that action at this time.
0 commit comments