public override async Task Execute(IFieldObjUser user, ForcedStatCommandArgs args) { await user.ModifyForcedStats(s => { switch (args.Type) { case ModifyForcedStatType.STR: s.STR = args.Value; break; case ModifyForcedStatType.DEX: s.DEX = args.Value; break; case ModifyForcedStatType.INT: s.INT = args.Value; break; case ModifyForcedStatType.LUK: s.LUK = args.Value; break; case ModifyForcedStatType.PAD: s.PAD = args.Value; break; case ModifyForcedStatType.PDD: s.PDD = args.Value; break; case ModifyForcedStatType.MAD: s.MAD = args.Value; break; case ModifyForcedStatType.MDD: s.MDD = args.Value; break; case ModifyForcedStatType.ACC: s.ACC = args.Value; break; case ModifyForcedStatType.EVA: s.EVA = args.Value; break; case ModifyForcedStatType.Speed: s.Speed = (byte)args.Value; break; case ModifyForcedStatType.Jump: s.Jump = (byte)args.Value; break; case ModifyForcedStatType.SpeedMax: s.SpeedMax = (byte)args.Value; break; } }); }