mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-15 16:14:34 +01:00
More Helpful Help Command (#5)
* Deleted TestCommand.cs No longer needed. * Update AbyssCommand.cs Added a command to adjust the player's bracket at will. * Update User.cs Added Abyss Group Value * Update Command.cs Added Examples[] to the constructor and handler. * Update HelpCommand.cs Made the Help command more helpful! * Update AbyssCommand.cs Added Help Examples * Update GiveCommand.cs Added help examples, handles negative inputs again, added more aliases, can add or remove materials by ID, can now for add all skipped characters with `give avatars-scuffed` * Update AbyssCommand.cs missed a quote * Update UltraEndlessGetMainDataReqHandler.cs Bracket can now be set with commands. Need to unscuff the fight cycle. * Update GiveCommand.cs Cheeky give gold command * Further refined the Help Command --------- Co-authored-by: TerminalAide0017 <Sucks@code>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using Common;
|
||||
using Common.Resources.Proto;
|
||||
using Common.Utils.ExcelReader;
|
||||
using Common.Database;
|
||||
|
||||
namespace PemukulPaku.GameServer.Handlers
|
||||
{
|
||||
@@ -11,11 +10,13 @@ namespace PemukulPaku.GameServer.Handlers
|
||||
|
||||
public void Handle(Session session, Packet packet)
|
||||
{
|
||||
uint bracket = session.Player.User.AbyssGroupLevel;
|
||||
uint temp = session.Player.User.AbyssDynamicHard;
|
||||
UltraEndlessGetMainDataRsp Rsp = new()
|
||||
{
|
||||
retcode = UltraEndlessGetMainDataRsp.Retcode.Succ,
|
||||
ScheduleId = 1028,
|
||||
GroupLevel = 9,
|
||||
GroupLevel = bracket,
|
||||
TopGroupLevel = 9,
|
||||
CupNum = 2000,
|
||||
MainData = new()
|
||||
@@ -27,7 +28,7 @@ namespace PemukulPaku.GameServer.Handlers
|
||||
CloseTime = (uint)Global.GetUnixInSeconds() + 3600 * 24 * 7 + 1200,
|
||||
CurSeasonId = 1
|
||||
},
|
||||
DynamicHardLevel = session.Player.User.AbyssDynamicHard,
|
||||
DynamicHardLevel = temp,
|
||||
LastSettleInfo = new() { }
|
||||
};
|
||||
Rsp.MainData.SiteLists.AddRange(Common.Utils.ExcelReader.UltraEndlessSite.GetInstance().All.Where(x => x.SiteId > 1019).Select(siteData =>
|
||||
|
||||
Reference in New Issue
Block a user