Raised This Month: $ Target: $400
 0% 

The lower level, more experience


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arenmake
Junior Member
Join Date: Apr 2012
Old 04-22-2012 , 14:33   The lower level, more experience
Reply With Quote #1

Hello

I know it has to do specifically with Pawn, but I thought maybe I can help

Ecuasión need some math for me better bonus exp if I am low. As I am the highest level, the bonus received diminishes

All in a defined would

Variables:

PHP Code:
g_combo[id// combo made
g_level[id// level of player
g_exp[id// experience of player
g_admin[id// better bonus should be admin 
grettings.-
Arenmake is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 04-22-2012 , 14:39   Re: The lower level, more experience
Reply With Quote #2

You can do it with cases check Switch, also you can do it by mathematical equations

You can check about elo rating system... http://en.wikipedia.org/wiki/Elo_rating

An example of Switch is

switch(g_level[id]) {
case 0 ... 10 : { //xp * 20 }
case 11 ... 20 : { //xp * 10 }
}
... etc, Is is only an example but, the equation would be more pretty. Check about ELO rating system, is interesting.
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode