@@ -123,12 +123,10 @@ private PacketQueue UpdateExtendedParamData(GameClient client, CharacterCommon c
123123 obj . MainPawnSlot += ( ushort ) upgrade . Amount ;
124124 // When the player unlocks this, the total number will be increased to 3.
125125 client . Character . MyPawnSlotNum += ( byte ) upgrade . Amount ;
126- _Server . Database . UpdateMyPawnSlot ( client . Character . CharacterId , client . Character . MyPawnSlotNum , connectionIn ) ;
127126 break ;
128127 case OrbGainParamType . SupportPawnSlot :
129128 obj . SupportPawnSlot += ( ushort ) upgrade . Amount ;
130129 client . Character . RentalPawnSlotNum += ( byte ) upgrade . Amount ;
131- _Server . Database . UpdateRentalPawnSlot ( client . Character . CharacterId , client . Character . RentalPawnSlotNum , connectionIn ) ;
132130 break ;
133131 case OrbGainParamType . UseItemSlot :
134132 obj . UseItemSlot += ( ushort ) upgrade . Amount ;
@@ -145,6 +143,7 @@ private PacketQueue UpdateExtendedParamData(GameClient client, CharacterCommon c
145143 case OrbGainParamType . PawnCraftNum :
146144 // TODO: OrbGainParamType.MainPawnLostRate
147145 case OrbGainParamType . MainPawnLostRate :
146+ obj . MainPawnLostRate += ( ushort ) upgrade . Amount ;
148147 break ;
149148 case OrbGainParamType . SecretAbility :
150149 queue . Enqueue ( client , _Server . JobManager . UnlockSecretAbility ( client , character , upgrade . SecretAbility , connectionIn ) ) ;
@@ -303,20 +302,6 @@ public PacketQueue UnlockDragonForceAugmentationUpgrade(GameClient client, Chara
303302
304303 DragonForceUpgrade upgrade = common is Character arisen ? GetPlayerUpgrade ( elementId ) : GetPawnUpgrade ( elementId ) ;
305304
306- if ( character is Character )
307- {
308- upgrade = GetPlayerUpgrade ( client , ( Character ) character , elementId ) ;
309- }
310- else
311- {
312- upgrade = GetPawnUpgrade ( client , ( Pawn ) character , elementId ) ;
313- }
314-
315- if ( upgrade == null )
316- {
317- throw new ResponseErrorException ( ErrorCode . ERROR_CODE_ORB_DEVOTE_INVALID_ELEMENT_ID ) ;
318- }
319-
320305 // Check for Valid Conditions before continuing
321306 if ( upgrade . IsRestrictedByTotalLevels ( ) )
322307 {
@@ -515,12 +500,6 @@ private Category GroupNo2Category(GroupNo GroupNo)
515500 GroupNo . Group5 => Category . Other ,
516501 _ => Category . None ,
517502 } ;
518- return Category . Combat ;
519- case GroupNo . Group5:
520- return Category . Other ;
521- }
522-
523- return Category . None ;
524503 }
525504 }
526505
0 commit comments