Issue548

Title Treasure Search Algorithm
Priority idea Status resolved
Assigned To Keywords
Linked issues Watchers

Submitted on 2011-12-04 19h21 by Xenux, last changed by jesusalva.

Messages
Author: Xenux Date: 2011-12-04   19h21
This skill increase the chance to drop items (by killing bots or by opening chests).

The skill is taught by Iris.
Author: salimiles Date: 2011-12-05   21h39
The relevant function that would need modification is DropRandomItem() in
src/items.c. Items drop 10% of the time (ITEM_DROP_PERCENTAGE), so all that
would be needed would be a modifier to this number. Which looks like this would
be fairly easy to implement.

(We'd also update src/charcter.c to show the current level, keep track of it in
src/struct.h by to tux{}, initialize it in init_tux() in src/infu.c, and modify
the lua interface to include it by adding it to lua_event_improve_skill() and
lua_event_get_skill() in src/lua.c, and then modify whatever dialogs/etc... )


----


I'm not entirely certain the current (0.15-rc1 / r5223 ) drop balance is done
all that well, and it is really hard to check what is actually going on, so I
think that a number of functions are needed, probably either for the level
editor or website, to show:

For each item drop class, what are the available items, as specified per item in
map/item_archtypes.dat or calculated from (class > ItemMap[].min_drop_class && 
class < ItemMap[].max_drop_class) ?


It might be also nice to show:
What the actual bot item drop class, is for each bot type (specified in
map/droid_archtypes.dat and Druidmap[].drop_class),
For items that stack (e.g. ammo, what the multiplicity range is), and for
customizable items, the % for getting a certain number of sockets pre-installed.
Author: jesusalva Date: 2014-01-06   21h09
Why not implement it?
Author: jesusalva Date: 2014-01-15   18h20
Yet, this appear cool and easy. A good skill to have. I'm pretty sure that the
player would want put some effort into it.
Author: jesusalva Date: 2016-01-05   16h46
I re-did RR 1659 on R2233.
You can check that patch later.
Thanks Miles, because you did the codes. ;)
Author: jesusalva Date: 2016-07-15   00h49
Pushed in commit c14d08159d1e57b88d2ec6a90d0a36e4e00399d7.
History
Date User Action Args
2016-07-15 01:00:34jesusalvalinkissue856 linked
2016-07-15 00:49:03jesusalvasetstatus: open -> resolved
messages: + msg3331
2016-01-05 16:46:06jesusalvasetmessages: + msg3297
2014-01-15 18:20:34jesusalvasetmessages: + msg2691
2014-01-06 21:09:03jesusalvasetmessages: + msg2659
2011-12-05 21:39:18salimilessetmessages: + msg2092
2011-12-04 19:21:17Xenuxcreate