添加默认可用perk列表

This commit is contained in:
17146 2025-05-07 17:54:42 +08:00 committed by Light_Quanta
parent a55f599529
commit b8ca6e69a2
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959
2 changed files with 10 additions and 6 deletions

View file

@ -197,11 +197,6 @@ public abstract class GunItem extends Item implements CustomRendererItem {
return false;
}
public boolean canApplyPerk(Perk perk) {
return true;
}
/**
* 是否使用弹匣换弹
*

View file

@ -76,5 +76,14 @@ public class DefaultGunData {
public double heatPerShoot = 0;
@SerializedName("AvailablePerks")
public List<String> availablePerks;
public List<String> availablePerks = List.of(
"@Ammo",
"superbwarfare:field_doctor",
"superbwarfare:powerful_attraction",
"superbwarfare:intelligent_chip",
"superbwarfare:monster_hunter",
"superbwarfare:vorpal_weapon",
"!superbwarfare:micro_missile",
"!superbwarfare:longer_wire"
);
}