package Ġkotlin mud . action . impl . admin Ċ Ċ import Ġkotlin mud . action . builder . Action Builder Ċ import Ġkotlin mud . action . model . Action Ċ import Ġkotlin mud . action . type . Command Ċ import Ġkotlin mud . io . factory . message ToAction Creator Ċ import Ġkotlin mud . io . factory . mob In Room Ċ import Ġkotlin mud . io . type . Syntax Ċ import Ġkotlin mud . mob . model . Mob Ċ import Ġkotlin mud . mob . type . Role Ċ import Ġkotlinx . coroutines . run Blocking Ċ Ċ fun Ġcreate S lay Action (): ĠAction Ġ{ ĊĠĠĠ Ġreturn ĠAction Builder ( Command . SL AY ). also Ġ{ ĊĠĠĠĠĠĠĠ Ġit . minimum Role Ġ= ĠRole . Admin ĊĠĠĠĠĠĠĠ Ġit . syntax Ġ= Ġmob In Room () ĊĠĠĠ Ġ}. build Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġtarget Ġ= Ġit . get < Mob >( Syntax . MOB _ IN _ ROOM ) ĊĠĠĠĠĠĠĠ Ġrun Blocking Ġ{ Ġit . create Fight ( target ) Ġ} ĊĠĠĠĠĠĠĠ Ġtarget . hp Ġ= Ġ- 1 ĊĠĠĠĠĠĠĠ Ġit . create Ok Response ( message ToAction Creator (" you Ġs lay Ġ$ target Ġin Ġcold Ġblood ! ")) ĊĠĠĠ Ġ} Ċ } Ċ