igroglaz / srvmgr

https://rom2.ru
8 stars 5 forks source link

apply 'nodrop' flag when player died from PK #32

Closed igroglaz closed 2 years ago

igroglaz commented 4 years ago

Right now there are flags for experience: when the PK kill player - experience is not lost, and when the mob kills players - exp lost. Next task is to attach the 'nodrop' flag to a specific case - when player kill other player. So when someone PK other player 'manually' - this player won't loose equipment.

This is possible to implement. ZZYZX said: Somewhere there is a pointer to the one who beat you for the last time. Arena murder messages works with this popinter. For example, if you hit someone with fire and then use #kill command on him - then game will write about fire. That is, there exist logic which checks who and what beat the last time, and is not activated directly when dealing damage.

igroglaz commented 4 years ago

if it would be achieved, we will come closer also for this task: https://github.com/igroglaz/srvmgr/issues/4

igroglaz commented 3 years ago

this should be a server flag. so at certain difficulties it would be PK-safe and at some PKing will cause the drop

igroglaz commented 3 years ago

I suppose we don't need this flag anymore

igroglaz commented 3 years ago

Still could be good idea.. at least to adjust drop chance when player killed by PK

igroglaz commented 2 years ago

no need due MaxPvpDmg