This tutorial simple and easy.

Server side

Look in modCombat, PlayerAttackNpc for:

```
' Calculate exp to give attacker
```

The line under it should be:

```
exp = Npc(npcNum).exp
```

below add :

```
' Check if npc level is bigger then 0
If NPC(NPCNum).Level > 0 Then
' exp deduction
If NPC(NPCNum).Level <= GetPlayerLevel(attacker) - 10 Then
' 10 levels lower, exp 0
Call PlayerMsg(attacker, "Musuhmu 10 level di bawahmu, kamu tidak akan mendapatkan exp.", BrightRed) ' IF you want you can delete this msg cuz its only informating player
exp = 0
ElseIf NPC(NPCNum).Level <= GetPlayerLevel(attacker) - 5 Then
' half exp if enemy is 5 levels lower
Call PlayerMsg(attacker, "Musuhmu 5 level di bawahmu, kamu mendapatkan setengah exp.", BrightRed) ' IF you want you can delete this msg cuz its only informating player
exp = exp / 2
ElseIf NPC(NPCNum).Level >= GetPlayerLevel(attacker) + 10 Then
Call PlayerMsg(attacker, "Musuhmu 10 level di atasmu, kamu tidak akan mendapatkan exp.", BrightRed) ' IF you want you can delete this msg cuz its only informating player
exp = 0
End If
End If
```This Tutorial credit Domino but i edited a bit
```