Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- <http://emudevs.com>
- By Tommy
- */
- class on_pvp_kill : public PlayerScript
- {
- public:
- on_pvp_kill() : PlayerScript("on_pvp_kill") { }
- void OnPVPKill(Player* killer, Player* victim)
- {
- if (killer->GetGUID() == victim->GetGUID())
- return;
- victim->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE);
- }
- };
- void AddSC_example_misc()
- {
- new on_pvp_kill;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement