drastically dilute the xp

This commit is contained in:
Lorenc Pekaj 2018-09-28 10:35:13 +10:00
parent 1005a506b6
commit 14c73d01ae

View File

@ -35,15 +35,15 @@ static const
g_levelData[ ] [ E_LEVEL_DATA ] = g_levelData[ ] [ E_LEVEL_DATA ] =
{ {
// Level Name Level 100 Req. XP Dilation (just to confuse user) // Level Name Level 100 Req. XP Dilation (just to confuse user)
{ "Law Enforcement", 10000.0, 3.0 }, // 10K arrests { "Law Enforcement", 10000.0, 9.0 }, // 10K arrests
{ "Robbery", 50000.0, 2.0 }, // 100K robberies { "Robbery", 50000.0, 6.0 }, // 100K robberies
{ "Deathmatch", 100000.0, 1.0 }, // 100K kills { "Deathmatch", 100000.0, 3.0 }, // 100K kills
{ "Fireman", 10000.0, 3.0 }, // 10k fires { "Fireman", 10000.0, 9.0 }, // 10k fires
{ "Hitman", 1500.0, 1.5 }, // 1.5k contracts { "Hitman", 1500.0, 4.5 }, // 1.5k contracts
{ "Burglar", 2000.0, 2.5 }, // 2K burglaries { "Burglar", 2000.0, 7.5 }, // 2K burglaries
{ "Terrorist", 15000.0, 2.0 }, // 15k blown entities { "Terrorist", 15000.0, 6.0 }, // 15k blown entities
{ "Car Jacker", 10000.0, 2.0 }, // 10k cars jacked { "Car Jacker", 10000.0, 6.0 }, // 10k cars jacked
{ "Drug Production", 10000.0, 2.0 } // 10k exports drug related { "Drug Production", 10000.0, 6.0 } // 10k exports drug related
} }
; ;
@ -191,14 +191,14 @@ stock GetPlayerTotalLevel( playerid, &level = 0 ) {
FOREIGN KEY (USER_ID) REFERENCES USERS (ID) ON DELETE CASCADE FOREIGN KEY (USER_ID) REFERENCES USERS (ID) ON DELETE CASCADE
); );
INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 0 as LEVEL_ID, ARRESTS * 3.0 AS EXPERIENCE FROM USERS); INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 0 as LEVEL_ID, ARRESTS * 9.0 AS EXPERIENCE FROM USERS);
INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 1 as LEVEL_ID, ROBBERIES * 2.0 AS EXPERIENCE FROM USERS); INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 1 as LEVEL_ID, ROBBERIES * 6.0 AS EXPERIENCE FROM USERS);
INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 2 as LEVEL_ID, KILLS * 1.0 AS EXPERIENCE FROM USERS); INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 2 as LEVEL_ID, KILLS * 3.0 AS EXPERIENCE FROM USERS);
INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 3 as LEVEL_ID, FIRES * 3.0 AS EXPERIENCE FROM USERS); INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 3 as LEVEL_ID, FIRES * 9.0 AS EXPERIENCE FROM USERS);
INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 4 as LEVEL_ID, CONTRACTS * 1.5 AS EXPERIENCE FROM USERS); INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 4 as LEVEL_ID, CONTRACTS * 4.5 AS EXPERIENCE FROM USERS);
INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 5 as LEVEL_ID, BURGLARIES * 1.5 AS EXPERIENCE FROM USERS); INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 5 as LEVEL_ID, BURGLARIES * 7.5 AS EXPERIENCE FROM USERS);
INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 6 as LEVEL_ID, (BLEW_JAILS + BLEW_VAULT) * 2.0 AS EXPERIENCE FROM USERS); INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 6 as LEVEL_ID, (BLEW_JAILS + BLEW_VAULT) * 6.0 AS EXPERIENCE FROM USERS);
INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 7 as LEVEL_ID, VEHICLES_JACKED * 2.0 AS EXPERIENCE FROM USERS); INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 7 as LEVEL_ID, VEHICLES_JACKED * 6.0 AS EXPERIENCE FROM USERS);
INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 8 as LEVEL_ID, (METH_YIELDED + (TRUCKED*0.33)) * 2.0 AS EXPERIENCE FROM USERS); INSERT INTO USER_LEVELS (USER_ID, LEVEL_ID, EXPERIENCE) (SELECT ID as USER_ID, 8 as LEVEL_ID, (METH_YIELDED + (TRUCKED*0.33)) * 6.0 AS EXPERIENCE FROM USERS);
DELETE FROM USER_LEVELS WHERE EXPERIENCE = 0; DELETE FROM USER_LEVELS WHERE EXPERIENCE = 0;
*/ */