Kyoril / mmo

This repository contains the prototype of an mmorpg with a custom engine, built entirely in C++. It contains the client, tools and servers. The goal of this project is to have a vertical slice of an MMORPG which is playable.
https://discord.gg/WQEbswvMZG
30 stars 10 forks source link

damage after death #40

Open rikkutoa opened 1 week ago

rikkutoa commented 1 week ago

you are able to still attack and target an entity even after the target is dead letting you still do damage to the entity

Kyoril commented 6 days ago

Yes, thank you, will look into it today.

Kyoril commented 6 days ago

Targeting dead enemies should still be possible. The reason for this is that when we get to resurrection spells and such things, you should be able to target a dead player as well.

However, damaging dead npcs should not be possible and most spells should also not work on them, so that is something I will chance.

Also in terms of selection, I might think of a priority system which prioritizes units that are alive over units that are dead so that its easier to target them using the mouse cursor.