Projectiles+
This commit is contained in:
@@ -205,6 +205,9 @@ const INPUT_CHEST = 403
|
||||
## Client -> Server: Use portal
|
||||
const INPUT_PORTAL = 404
|
||||
|
||||
## Client -> Server: Fire projectile (bow, crossbow, throwable)
|
||||
const INPUT_FIRE_PROJECTILE = 405
|
||||
|
||||
# ===== Escape / Portal (450-459) =====
|
||||
|
||||
## Client -> Server: Start escape channel (return to hub)
|
||||
@@ -236,6 +239,18 @@ const EVENT_LEVELUP = 502
|
||||
## Server -> Client: Loot obtained
|
||||
const EVENT_LOOT = 503
|
||||
|
||||
## Server -> Client: Projectile spawned in dungeon
|
||||
const EVENT_PROJECTILE_SPAWNED = 504
|
||||
|
||||
## Server -> Client: Projectile hit target (mob/player)
|
||||
const EVENT_PROJECTILE_HIT = 505
|
||||
|
||||
## Server -> Client: Projectile expired (max range or wall collision)
|
||||
const EVENT_PROJECTILE_EXPIRED = 506
|
||||
|
||||
## Server -> Client: Damage number for floating text
|
||||
const EVENT_DAMAGE_NUMBER = 507
|
||||
|
||||
# ===== Server Broadcasts (600-609) =====
|
||||
|
||||
## Server -> All Clients: Server-wide broadcast message
|
||||
|
||||
Reference in New Issue
Block a user