[s] Martial arts granted by equipped items no longer persist through cloning. (#22684)

* Martial arts no longer persist through cloning

* Remove unnessecary var declarations

* Combo counter

---------

Co-authored-by: Adrer <adrermail@gmail.com>
This commit is contained in:
Adrer
2023-10-03 08:47:19 +02:00
committed by GitHub
parent 89214a1f59
commit 2672d02eb3
7 changed files with 38 additions and 16 deletions
@@ -37,7 +37,7 @@
var/obj/item/claymore/highlander/sword = H.is_in_hands(/obj/item/claymore/highlander)
if(sword)
//if we have a highlander sword in the other hand, relearn the style from that sword.
sword.style.teach(H, 1)
sword.style.teach(H, TRUE)
/obj/item/claymore/highlander/dropped(mob/user)
..()
@@ -49,4 +49,4 @@
var/obj/item/claymore/highlander/sword = H.is_in_hands(/obj/item/claymore/highlander)
if(sword)
//if we have a highlander sword in the other hand, relearn the style from that sword.
sword.style.teach(H, 1)
sword.style.teach(H, TRUE)