I've virtually no time to spare right now but as far as I can see this behavior is handled in zone/PlayerCorpse.cpp, search for "tCanLoot".
The idea of giving out special coins for PVP kills is cool, but I can think of a few issues that should be handled.
- Reward should be based on level, level difference and class. That might include some penalties for strong PvP classes(Necro) that kill weaker classes.
- Reduced/No reward if the killed char is naked and has a corpse with equipment (-> corpse camping)
- Check for exploits and foul play. Like PKer and PKed play from the same IP.
|