All pastes #821105 Raw Edit

XP

public diff v1 · immutable
·published 2007-12-17 22:28 UTC
rendered paste body
Index: src/game/Formulas.h===================================================================--- src/game/Formulas.h	(revision 4856)+++ src/game/Formulas.h	(working copy)@@ -149,17 +149,27 @@         {             // for max_level             uint32 money = 0;-            if (qlevel >= 15)+            if (qlevel > 59)                 money = rewXP / 10;-            else if (qlevel == 14)-                money = rewXP / 8;-            else if (qlevel == 13)-                money = rewXP / 6;-            else if (qlevel == 12)-                money = rewXP / 4;-            else if (qlevel == 11)+            else if (qlevel == 51)                 money = rewXP / 2;-            else if (qlevel > 0 && qlevel <= 10)+            else if (qlevel == 52)+                money = rewXP - 3400;+            else if (qlevel == 53)+                money = rewXP / 6 + 50;+            else if (qlevel == 54)+                money = rewXP / 8 + 75;+            else if (qlevel == 55)+                money = rewXP / 10 + 150;+            else if (qlevel == 56)+                money = rewXP / 10 - 30;+            else if (qlevel == 57)+                money = rewXP / 5 + 1340;+            else if (qlevel == 58)+                money = rewXP / 3 - 500 ;+            else if (qlevel == 59)+                money = rewXP / 4 + 4500 ;+            else if (qlevel > 0 && qlevel <= 50)                 money = rewXP;              return money;Index: src/game/QuestDef.cpp===================================================================--- src/game/QuestDef.cpp	(revision 4856)+++ src/game/QuestDef.cpp	(working copy)@@ -152,17 +152,19 @@             uint32 pLevel = pPlayer->getLevel();             uint32 qLevel = QuestLevel;             float fullxp = 0;-            if (qLevel >= 15)+            if (qLevel >= 55)                 fullxp = RewXpOrMoney / 6.0f;-            else if (qLevel == 14)-                fullxp = RewXpOrMoney / 4.8f;-            else if (qLevel == 13)-                fullxp = RewXpOrMoney / 3.6f;-            else if (qLevel == 12)-                fullxp = RewXpOrMoney / 2.4f;-            else if (qLevel == 11)-                fullxp = RewXpOrMoney / 1.2f;-            else if (qLevel > 0 && qLevel <= 10)+            else if (qLevel == 54)+                fullxp = RewXpOrMoney / 4.8f + 25;+            else if (qLevel == 53)+                fullxp = RewXpOrMoney / 3.6f + 33;+            else if (qLevel == 52)+                fullxp = RewXpOrMoney / 2.4f + 12;+            else if (qLevel == 51)+                fullxp = RewXpOrMoney / 1.2f + 50;+            else if (qLevel >= 15 && qLevel <= 50)+                fullxp = RewXpOrMoney / 0.6f - 50;+            else if (qLevel > 0 && qLevel < 15)                 fullxp = RewXpOrMoney / 0.6f;              if( pLevel <= qLevel +  5 )