mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 12:16:03 +08:00
Fix Gacha 1224 problem
This commit is contained in:
@@ -19,7 +19,7 @@ public class GachaManager(PlayerInstance player) : BasePlayerManager(player)
|
||||
{
|
||||
var purpleAvatars = new List<int>();
|
||||
foreach (var avatar in GameData.AvatarConfigData.Values)
|
||||
if (avatar.Rarity == RarityEnum.CombatPowerAvatarRarityType4)
|
||||
if (avatar.Rarity == RarityEnum.CombatPowerAvatarRarityType4 && avatar.AvatarID != 1224)
|
||||
purpleAvatars.Add(avatar.AvatarID);
|
||||
return purpleAvatars;
|
||||
}
|
||||
|
||||
8
GameServer/RefreshProto.sh
Normal file
8
GameServer/RefreshProto.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
#delete old proto files
|
||||
rm -rf ..\Proto\*.cs
|
||||
#generate new proto files
|
||||
|
||||
cd OriginalProto
|
||||
protoc ".\*" --csharp_out=..\..\Proto\
|
||||
Reference in New Issue
Block a user