ko4life-net / ko

Open source development of the game Knight Online. This is a reversed engineered old version of the game aiming to replicate the nostalgic experience we all once had <3
MIT License
52 stars 21 forks source link

Implement stackable HP/MP bars in state-bar #120

Open stevewgr opened 1 year ago

stevewgr commented 1 year ago

Description

The 1264 UIFs introduced stackable HP/MP bars in state-bar.

This also requires server and client side implementation for N3PKT_ZONEABILITY (0x5E) with its sub-opcode 2.

We now have 3 different bars stacked on each other that need to change visibility based on the current state of the user. The state can be either dot (bleeding red), poison (purple) and speed (green).

The server currently does not have implementation for it, hence it's needed to add calls where applicable to send such information so that the client will update the stackable bars depending on the state.

Tasks