P5 the Old Stag: standing stones and altar, three-phase boss with charges, stun window, spirit wolves and stomps; antler pickaxe and trophy; group scaling and credit for every fighter; online 3-player test (protocol 12)
This commit is contained in:
@@ -365,6 +365,17 @@ func _s2c_node(uid: String, hp: float, point: Vector3, from: Vector3) -> void:
|
||||
n.apply_remote(hp, point, from)
|
||||
received += 1
|
||||
|
||||
## The standing stones' altar changed (key pieces set, the stag beaten).
|
||||
func stones_state(d: Dictionary) -> void:
|
||||
_all("_s2c_stones", [d])
|
||||
|
||||
@rpc("authority", "call_remote", "reliable")
|
||||
func _s2c_stones(d: Dictionary) -> void:
|
||||
if not is_client() or world.stones == null:
|
||||
return
|
||||
world.stones.load_data(d)
|
||||
received += 1
|
||||
|
||||
## Lightning struck a tree (hazards.gd, P4): everyone sees it burn. (It
|
||||
## falls later through _s2c_node, like any felled tree.)
|
||||
func struck(n: Node3D) -> void:
|
||||
|
||||
Reference in New Issue
Block a user