Olympiad rework.

Contributed by facab.
This commit is contained in:
MobiusDevelopment
2019-06-03 21:22:46 +00:00
parent 4851af4561
commit 3dc1961a66
204 changed files with 4855 additions and 15188 deletions

View File

@@ -1,9 +1,18 @@
<html><body scroll="no">Grand Olympiad Manager:<br><br>
<center>
This is the Grand Olympiad.<br>
Do you know much about its history?<br>
No?<br>
Well, during the mythical era of giants, the arena was created to foster peace and understanding among the races.<br><br>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest OlyManager OlyManager-info.html">Back</Button>
</center>
<html>
<table border=0 cellpadding=0 cellspacing=0 width=294 height=359 background="L2UI_CH3.refinewnd_back_Pattern">
<tr>
<td height=359>
<br>
<br>
<center>
The Grand Olympiad was first held<br>
for peace and armony among different races.<br>
It is now reborn as the Word Olympiad,<br>
where all warriors complete with one another<br>
to become the best in all dimensions.<br><br>
<button action="bypass -h Quest OlyManager OlyManager-info.html" value="Back" width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_Back_Down" fore="L2UI_CT1.OlympiadWnd_DF_Back">
</center>
</td>
</tr>
</table>
</body></html>

View File

@@ -1,21 +1,15 @@
<html><body scroll="no">
<table border=0 cellpadding=0 cellspacing=0 width=292 height=358 background="L2UI_CH3.refinewnd_back_Pattern">
<tr><td height=30></td></tr>
<tr><td align=center>You can calculate your Olympiad points</td></tr>
<tr><td align=center>You can help you calculate your Olympiad points</td></tr>
<tr><td height=10></td></tr>
<tr><td align=center>or trade items with tokens.</td></tr>
<tr><td height=20></td></tr>
<tr><td align=center>Keep in mind that when you exchange accessories or belts for Marks of Battle,</td></tr>
<tr><td height=10></td></tr>
<tr><td align=center>the enchant level of accessories and belts used</td></tr>
<tr><td height=10></td></tr>
<tr><td align=center>as ingredients will not be applied.</td></tr>
<tr><td height=24></td></tr>
<tr><td align=center>or you can purchase Marks of Battle.</td></tr>
<tr><td height=50></td></tr>
<tr><td align=center><button action="bypass -h Quest OlyManager calculatePoints" value="I want to calculate my points." width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_Reward_Down" fore="L2UI_CT1.OlympiadWnd_DF_Reward"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_multisell 2095" value="I want to buy Marks of Battle items." width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_BuyEquip_Down" fore="L2UI_CT1.OlympiadWnd_DF_BuyEquip"></td></tr>
<tr><td align=center><button action="bypass -h Quest OlyManager showEquipmentReward" value="I want to buy equipment." width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_BuyEquip_Down" fore="L2UI_CT1.OlympiadWnd_DF_BuyEquip"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_multisell 712" value="I want to buy miscellaneous items." width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_BuyEtc_Down" fore="L2UI_CT1.OlympiadWnd_DF_BuyEtc"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_multisell 2109" value="I want to exchange Olympiad tokens." width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_BuyEtc_Down" fore="L2UI_CT1.OlympiadWnd_DF_BuyEtc"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_multisell 2095" value="I want to exchange consumables." width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_BuyEtc_Down" fore="L2UI_CT1.OlympiadWnd_DF_BuyEtc"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_multisell 712" value="I want to exchange PvP consumables." width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_BuyEtc_Down" fore="L2UI_CT1.OlympiadWnd_DF_BuyEtc"></td></tr>
<tr><td align=center><button action="bypass -h Quest OlyManager showEquipmentReward" value="I want to exchange equiment." width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_BuyEquip_Down" fore="L2UI_CT1.OlympiadWnd_DF_BuyEquip"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_multisell 2109" value="I want to exchange for Marks of Battle." width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_BuyEtc_Down" fore="L2UI_CT1.OlympiadWnd_DF_BuyEtc"></td></tr>
<tr><td align=center><button action="bypass -h Quest OlyManager index" value="Back" width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_Back_Down" fore="L2UI_CT1.OlympiadWnd_DF_Back"></td></tr>
<tr><td height=40></td></tr>
</table>

View File

@@ -251,9 +251,6 @@ public class AdminOlympiad implements IAdminCommandHandler
statDat.set(Olympiad.COMP_LOST, 0);
statDat.set(Olympiad.COMP_DRAWN, 0);
statDat.set(Olympiad.COMP_DONE_WEEK, 0);
statDat.set(Olympiad.COMP_DONE_WEEK_CLASSED, 0);
statDat.set(Olympiad.COMP_DONE_WEEK_NON_CLASSED, 0);
statDat.set(Olympiad.COMP_DONE_WEEK_TEAM, 0);
statDat.set("to_save", true);
Olympiad.addNobleStats(player.getObjectId(), statDat);
}

View File

@@ -59,9 +59,6 @@ public class OlympiadStat implements IUserCommandHandler
final SystemMessage sm2 = SystemMessage.getSystemMessage(SystemMessageId.THIS_WEEK_YOU_CAN_PARTICIPATE_IN_A_TOTAL_OF_S1_MATCHES);
sm2.addInt(Olympiad.getInstance().getRemainingWeeklyMatches(nobleObjId));
sm2.addInt(Olympiad.getInstance().getRemainingWeeklyMatchesClassed(nobleObjId));
sm2.addInt(Olympiad.getInstance().getRemainingWeeklyMatchesNonClassed(nobleObjId));
sm2.addInt(Olympiad.getInstance().getRemainingWeeklyMatchesTeam(nobleObjId));
player.sendPacket(sm2);
return true;
}