mob
proc
Take_Damage(Amount,mob/Opponent,DType = "Physical",Direction = 0)
if(IsEnemy)
DieMob(Opponent)
DieMob(Opponent)
if(IsEnemy)
if(src.Health < 0)
Opponent:Train(round(src.Exp_Drop,1),Opponent:Train_Focus)
Problem description:Hi byond developers today im trying to make a party system with the options Create Party,invite.... but i want to add to it a exp distribution, what does it mean? it means that if a player from the party kills a mob send a part of the exp to the rest of members. Here i post a part of my take damage proc with the proc that executes the die of the enemy and exp gain if it helps.
Of course, it'd be up to you to design the rest.