hellboy
Intermediate OT User
It's possible to get experience "gained" by summon, when it done any dmg, but someone else killed target?
As I can see in events.cpp onGainExperience is set only for metatable "Player".
In creatureevent.cpp I see preparedeath, death, kill.
I can't see any damage map or anything similar.
As I can see in events.cpp onGainExperience is set only for metatable "Player".
In creatureevent.cpp I see preparedeath, death, kill.
Lua:
onPrepareDeath(creature, killer)
onDeath(creature, corpse, lasthitkiller, mostdamagekiller, lasthitunjustified, mostdamageunjustified)
onKill(creature, target)
I can't see any damage map or anything similar.