igroglaz / srvmgr

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

partial drop flags #4

Closed igroglaz closed 3 years ago

igroglaz commented 4 years ago

there are already flags for drop/no drop.. it would be fun to add new flags - for partial drop, eg when player die, only his inventory would be lost as a bag (but not items worn). Example of possible flags for death drop:

1) 10% on gold lost 2) 10% of inventory (scrolls & etc) dropped 3) one random equiped item dropped 4) one random item from inventory dropped 5) all inventory dropped

igroglaz commented 4 years ago

This is the most important task atm.

serg-bloim commented 3 years ago

Is it possible to add me into the project so I can get tasks assigned to me? Not critical though, but would be good for tracking purposes.

igroglaz commented 3 years ago

https://github.com/igroglaz/srvmgr/commit/c181548deb1364119d39ed9f10727e254e379631

Added :) Please feel free to merge stuff instantly (no need for review mode)

igroglaz commented 3 years ago

There is a problem that partial drop influence on mobs too. In 99% cases it's alright and I like this mechanic. But at 1st newbie server we need to make mobs drop their items in 100% cases.

/rfe to add server flag to disable partial drop system and to use old NODROP flag

igroglaz commented 3 years ago

hm.. I suppose it's not even 'influence', but it's just disabled completely drop from monster's "hands". eg orcs1 do not drop their sword or bows after death even if drop chance is 1.0

igroglaz commented 3 years ago

ok, it's already become a game feature, so closing this