2025-07-16 13:05:04 +08:00
|
|
|
namespace Entity
|
|
|
|
{
|
|
|
|
public class Monster
|
|
|
|
{
|
2025-07-17 15:42:24 +08:00
|
|
|
public Protocol.MonsterPack ToPack()
|
|
|
|
{
|
|
|
|
var pack= new Protocol.MonsterPack();
|
|
|
|
return pack;
|
|
|
|
}
|
2025-07-16 13:05:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
public class MonsterAttributes
|
|
|
|
{
|
|
|
|
public int health = 10;
|
|
|
|
public int moveSpeed = 1;
|
|
|
|
public int attack = 1;
|
|
|
|
public int defense = 0;
|
|
|
|
public int attackSpeed = 2;
|
|
|
|
public int attackRange = 3;
|
|
|
|
public int attackTargetCount = 1;
|
|
|
|
}
|
|
|
|
}
|