Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions XPForKillsConfiguration.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Rocket.API;
using XPForKills;

namespace PhaserArray.XPForKills
{
Expand All @@ -18,9 +19,11 @@ public class XPForKillsConfiguration : IRocketPluginConfiguration
public int TeamkillXP;
public int SuicideXP;
public int DeathXP;
public int BreathXP;
public int ZombieXP;
public int FireXP;
public int BreathXP;
public int ZombieXP;
public int FireXP;

public GunMultiplier[] GunMultipliers { get; set; }

public void LoadDefaults()
{
Expand All @@ -38,8 +41,17 @@ public void LoadDefaults()
SuicideXP = -50;
DeathXP = -50;
BreathXP = -50;
ZombieXP = -50;
FireXP = -50;
ZombieXP = -50;
FireXP = -50;

GunMultipliers = new GunMultiplier[]
{
new GunMultiplier()
{
Id = 363,
Multiplier = 0.5
}
};
}
}
}