mirror of
https://github.com/araxiaonline/ets-module-collection.git
synced 2026-06-13 02:52:20 -04:00
11 lines
286 B
TypeScript
11 lines
286 B
TypeScript
const TaintedKill: player_event_on_kill_creature = (event, player, creature) => {
|
|
if(creature.GetEntry() == 22009) {
|
|
player.AddItem(31088, 1);
|
|
}
|
|
};
|
|
|
|
RegisterPlayerEvent(
|
|
PlayerEvents.PLAYER_EVENT_ON_KILL_CREATURE,
|
|
(...args) => TaintedKill(...args)
|
|
);
|