blob: d0070941d9b02acfe97ea0940f7401ab152cd504 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import { client } from "../../client";
/**
* Sends health point command.
* @param {number} side the position
* @param {number} hp the health point
*/
export const sendHP = (side: number, hp: number) => {
client.sender.sendServer(`HP#${side}#${hp}#%`);
}
|