diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-03 19:37:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-03 19:37:52 -0300 |
commit | e287c6cd8fae7b4a5d1ac586c246c5c3b4aaeb12 (patch) | |
tree | 8fe956fe03f2fe8074c980473f3a54abca08a213 /npc/functions | |
parent | f37159d6e3d332cc24e04a731bcd444847f84d00 (diff) | |
download | serverdata-e287c6cd8fae7b4a5d1ac586c246c5c3b4aaeb12.tar.gz serverdata-e287c6cd8fae7b4a5d1ac586c246c5c3b4aaeb12.tar.bz2 serverdata-e287c6cd8fae7b4a5d1ac586c246c5c3b4aaeb12.tar.xz serverdata-e287c6cd8fae7b4a5d1ac586c246c5c3b4aaeb12.zip |
HAND OUT THE OPEN BETA MAIN EVENT REWARDS.
30% of experience value and the promised ranking rewards
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/clientversion.txt | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index bd33a48ee..e6b7db9cc 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -404,6 +404,99 @@ function script clientupdater { } // Cleanup deletearray RNGTREASURE_DATE; + + // Open Beta 2019 Main Event Rewards + .@u$=strtolower(strcharinfo(0)); + setarray .@officialnick$, "jesusalva", "kolchak", "xanthem", "seeds", "dangerduck", "test123", "sertrop", "lawncable", "pookie", "saulc", + "apane", "omatt"; + setarray .@expval, 211625, 1955041, 938439, 59663, 73899, 10338, 7494, 7857, 1992, 360, 443, 193, 5180; + setarray .@gpval, 150321, 863215, 3263, 973137, 5650, 18343, 45227, 42002, 37381, 50000, 50450, 50275, 49988; + /* Data for python + # import exp from exptable + i=0 + THEARRAY=[] + while i < len(names): + raw=overflow[i] + c=0 + while c < level[i]: + raw+=exp[c] + c+=1 + print("%s: %d exp" % (names[i], raw)) + THEARRAY.append(int(raw*0.3)) + i+=1 + + setarray .@levelval, 48, 66, 60, 39, 40, 28, 25, 26, 17, 10, 10, 8, 23; + setarray .@overflow, 25762, 338713, 55746, 1275, 14516, 504, 2855, 640, 360, 0, 277, 18, 598; + */ + + // Open Beta 2019 + .@ranking=array_find(.@officialnick$, .@u$); + // Mishana LawnCable bObr Jesusalva demure + showavatar NPC_LOF_RICH; + mes ""; + mes "*************************************"; + mes ""; + mesn ("TMW2 Staff"); + mesc l("Hello, @@! We are proud to announce the @@ RESULTS!", strcharinfo(0) , b(l("Open Beta 2019"))), 3; + mes ""; + mesc l("1st Place - Jesusalva (65)"); + mesc l("2nd Place - Kolchak (63)"); + mesc l("3rd Place - Xanthem (56)"); + mesc l("4th Place - seeds (43)"); + mesc l("5th Place - dangerDuck (23)"); + mesc l("6th Place - test123 (20)"); + mesc l("7th Place - Sertrop (17)"); + mesc l("8th Place - Pookie (13)"); + mesc l("9th Place - LawnCable (13)"); + mesc l("10th Place - Saulc (8)"); + mes ""; + mesc l("It was a reaaaaaaly close dispute for the podium, but Jesusalva crafted an item at the last minute and took the first place!"); + mesc l("Although KOLCHAK managed to rank first in almost every ranking, Jesusalva was too close, and the Crafting gave him the edge he needed to take first place."); + mesc l("Congratulations to everyone who participated on the event, even those who didn't made to the top 10!"); + if (.@ranking >= 0) { + #ADD_LVL=.@expval[.@ranking]; + switch (.@ranking+1) { + case 1: + getitembound Tyranny, 1, 1; + getitem MercBoxsetEE, 1; + getitem EquipmentBlueprintE, 1; + getitem HousingLetterI, 1; + getitem StrangeCoin, 150; + break; + case 2: + getitem MercBoxsetEE, 1; + getitem EquipmentBlueprintE, 1; + getitem HousingLetterI, 1; + getitem StrangeCoin, 100; + break; + case 3: + getitem MercBoxsetDD, 1; + getitem EquipmentBlueprintD, 1; + getitem HousingLetterI, 1; + getitem StrangeCoin, 100; + break; + case 4: + case 5: + getitem MercBoxsetCC, 1; + getitem EquipmentBlueprintC, 1; + getitem HousingLetterI, 1; + getitem StrangeCoin, 50; + break; + case 6: + case 7: + getitem MercBoxsetBB, 1; + getitem StrangeCoin, 30; + break; + case 8: + case 9: + getitem MercBoxsetAA, 1; + getitem StrangeCoin, 10; + break; + case 10: + getitem MercBoxsetAA, 1; + break; + } // switch(ranking) + } // if ranking } |