HeronandGitHub ea1267762a Merge pull request #405 from SWG-Source/feature/space-rare-loot-system
Added a space rare loot system.

This system is disabled by default. I have added a default config file, but if you are adding this to an existing server, create/paste the following into:

space_rare_loot.cfg

Then add space_rare_loot.cfg as an include in servercommon.cfg.

Below is a sample config with Space Rare Loot disabled.

[SpaceRareLoot]

# Base percent chance for an eligible space kill to award a rare loot chest.
# Set to 0 or remove this key to disable space rare loot.
baseChance=0

# Cooldown in seconds between chest awards per player.
# 0 disables the cooldown.
delaySeconds=3600

# Enables testing/debug messages for rare loot eligibility and award checks.
debugMessages=false

# QA/testing option: treats lower-tier targets as same-tier for eligibility/chance behavior.
qaTreatLowerTargetAsSameTier=false

# Relative quality weights used after a chest award succeeds.
# These do not need to total 100, but these defaults represent 70/25/5.
rareChance=70
exceptionalChance=25
legendaryChance=5

# For higher-tier targets, shift this many points per tier out of Rare chance
# and into Exceptional/Legendary according to the ratios below.
higherTierQualityShift=5

# Portion of shifted Rare chance that becomes Exceptional chance.
higherTierExceptionalShiftRatio=0.80

# Portion of shifted Rare chance that becomes Legendary chance.
higherTierLegendaryShiftRatio=0.20

# Maximum number of target tiers above the player that can apply quality shifting.
higherTierQualityShiftMaxTiers=3

# Stat scaling applied when creating rare space loot items.
# Rare is below baseline, Exceptional is baseline, Legendary is above baseline.
rareScale=0.50
exceptionalScale=1.00
legendaryScale=1.50
2026-05-15 18:54:48 -04:00
2020-12-28 15:07:14 -05:00
2020-12-28 14:06:20 -06:00
2026-05-15 18:28:08 -04:00
2020-10-10 20:58:53 -04:00
2017-11-11 16:32:44 +00:00

SWG Source DSRC/Script Repo

This repo was forked from Stella Bellum. Please credit them (notably Cekis) if you use any of the work here.

Pull requests are welcome and encouraged

S
Description
No description provided
Readme
136 MiB
Languages
Java 99.9%
Perl 0.1%