Careful.
Attacker and the Victim can be world, and NPCs too. Be sure to use an if statement for that.
Casting may cause errors if the attacker or the victim isnt a player.
if (de.AttackerIsPlayer && de.VictimIsPlayer)
{
Player attacker =(Player)de.Attacker;
Player victim...
Nah, those won't be any sort of ulink problems. I think it has to do something with the new hook. Dunno yet, let me build another test release soon. Prepatched ulink is fine.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.