Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [Share] Looter (https://postpacific.mmorpg-game.online/showthread.php?t=3713)

Xellos 19.03.2006 22:38

i don't want to DELETE the item...

let the monster drop the picked up items on dying
do u found a way to enumerate the inventory?

btw - why do u set the AddGetItemDesire via timer?
set it on create with 15 (have to be more than the waypoint desire)
and the monster will pick up the item and continue with moving to next waypoint

(hmm, u like to double or triple post?)

Firedaemon 19.03.2006 23:19

enumerate the inventory?

No, there is no function in the AI that I have seen from my investigations which will get items in inventory into an array which you could loop through. That is pretty much the only way it would be achievable I am thinking.

Can you elaborate on your statement "set it on create with 15"

(And yes, Im to lazy to hit the edit button on my first post :P)

Shawnmb 20.03.2006 00:15

Quote:

Originally Posted by toolpunk
@shawnmb
lookie-lookie :D

Thanks ^^

Firedaemon 18.04.2006 02:39

The SEE_ITEM handler is only envoked when a mob sees the actual items drop within its sight. The see_item handler should have actually been called "SEE_ITEM_DROP" because its the dropping action that gets the handler to envoke. The handler is not envoked if an item is sitting on the ground and the NPC passes by.

All items that the mobs pickup are dropped when they are killed. If you have cached set to auto delete unowned items on start, then those collected items will be deleted on the next cached restart.

Xelat 23.04.2006 15:04

Nice aspect of this, it's a when mob was killed, he drops all what he's pickup! :P

angelicmercer 24.04.2006 07:00

i dont have any use for this at the moment but thanks for the share =)


All times are GMT. The time now is 16:33.