
09-07-2010, 06:45 AM
|
|
Banned
|
Join Date: Feb 2007
Posts: 1,348
|
|
|
have it send the players account as a parameter every time the player attacks as you would with damage then have it check to see if it is dead everytime it takes damage and if it is either have it join a class for player functions or join it to the player directly. then do addExp(amount); you can also do some checks to see if they are in a party and if so evenly distribute it throught the party. |
|
|
|