tslusny Posted May 31, 2012 Author Share Posted May 31, 2012 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 More sharing options...
or3o Posted May 31, 2012 Share Posted May 31, 2012 thanks for the tut seems like a good idea :)for some reason it gives me a syntax erroryou might need to add some then's after your else ifs i think. Link to comment Share on other sites More sharing options...
tslusny Posted June 2, 2012 Author Share Posted June 2, 2012 yea you are right :D i fix it Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now