[C++] No EXP or SPECIAL EXP BONUS for some maps

08/10/2017 11:35 ericblck#1
Actually we can block exp or add special exp bonus to several maps.
Here I'll show you how.

Open char_battle.cpp and search for:
Code:
if (to->GetMapIndex() >= 660000 && to->GetMapIndex() < 670000)
After the statement put this (for blocking exp on a map):
Code:
if (to->GetMapIndex() == MAPINDEX) 
         iExp == 0;
Or put this (for extra exp bonus):
Code:
if (to->GetMapIndex() == MAPINDEX) 
         iExp += iExp * 10 / 100;
iExp += iExp * 10 / 100;
in this case it's +10% exp bonus but you can change the percentage by changing the number highlighted in red
08/10/2017 12:16 Drαεth#2
Merci ! :)
08/13/2017 14:22 galetlefrancais#3
Merci bien ! :)
08/15/2017 13:35 Alergix2#4
Sehr nützlich danke dir!
11/13/2017 20:26 Lauling#5
merci... Simple.. danke das du gezeigt hast wo das zu finden ist.
Daraus könnte man ne nette config option schreiben, zbsp bei welchen maps kein exp gegeben wird und bei welchen maps spezial und wv :)
11/18/2017 22:18 gamehacker1#6
Wenn man das macht, gillt das dann für alle maps?
11/19/2017 00:00 Aiceal#7
Nein, du musst deine MAPINDEX eintragen.. dann gilt das auch nur für diese MAPINDEX