Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

(EO) Advanced Exp Scalling


tslusny
 Share

Recommended Posts

Hello. kira423 inspired me with her tutorial to make more advanced metod of Exp Scalling (and is balanced too).

kira423 tutorial [http://www.touchofdeathforums.com/smf2/index.php/topic,80478.0.html](http://www.touchofdeathforums.com/smf2/index.php/topic,80478.0.html)

In ModCombat in Sub PlayerAttackNpc find
```
' Make sure we dont get less then 0
        If exp < 0 Then
            exp = 1
        End If
```
Under add

```
If (GetPlayerLevel(attacker) - NPC(npcNum).Level) < -4 Then
        exp = Round((NPC(npcNum).exp * NPC(npcNum).Level) /5 )
    ElseIf (GetPlayerLevel(attacker) - NPC(npcNum).Level) > 4 Then
        exp = Round((NPC(npcNum).exp / GetPlayerLevel(attacker)) *5 )
    End If
```
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...