添加默认可用perk列表
This commit is contained in:
parent
a55f599529
commit
b8ca6e69a2
2 changed files with 10 additions and 6 deletions
|
@ -197,11 +197,6 @@ public abstract class GunItem extends Item implements CustomRendererItem {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean canApplyPerk(Perk perk) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否使用弹匣换弹
|
* 是否使用弹匣换弹
|
||||||
*
|
*
|
||||||
|
|
|
@ -76,5 +76,14 @@ public class DefaultGunData {
|
||||||
public double heatPerShoot = 0;
|
public double heatPerShoot = 0;
|
||||||
|
|
||||||
@SerializedName("AvailablePerks")
|
@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"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue