Rexxar
of Unimatrix Zero-One
Simple question!
Is it possible to alter loot that is dropped by a monster, when (or right after) the monster dies and loot is placed in its corpse?
Example:
Monster XXX drops "Shovel".
I want the script to, when a monster dies, check if its loot contains "Shovel".
If so, check if player name is "Adam", and if monster name is "Scarab".
If the above thing is true, replace "Shovel" with "Pick Axe".
(Or remove "Shovel" from the monster corpse, and instead place "Pick Axe" in there)
Is this possible in LUA or would it require C++ stuff?
Any help is appreciated, and rewarded with Reputation.
//Rex
Is it possible to alter loot that is dropped by a monster, when (or right after) the monster dies and loot is placed in its corpse?
Example:
Monster XXX drops "Shovel".
I want the script to, when a monster dies, check if its loot contains "Shovel".
If so, check if player name is "Adam", and if monster name is "Scarab".
If the above thing is true, replace "Shovel" with "Pick Axe".
(Or remove "Shovel" from the monster corpse, and instead place "Pick Axe" in there)
Is this possible in LUA or would it require C++ stuff?
Any help is appreciated, and rewarded with Reputation.
//Rex