mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-15 23:04:31 -05:00
e5a59e66a56ec952631ab5e5faf15a8e2f92c6a0
This fix adds an effect map to build a buff, which allows multiple buffs to be applied to an effect. This fixes the trader assembly buff, which only applied food_assembly. The mapping table allows multiple assembly buffs to be applied without hard coding. This fix also makes a change to the experience buff. The trade buffs also apply an experience bonus, but were not limited to crafting. The XP buff provides an additional buff, to chronicler xp. I moved the xp application to a common function, and they no longer overwrite each other. The highest buff is applied. I did a partial refactor to make the code easier to follow. This refactor is limited to the build a buff handlers.
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
Description
Languages
Java
99.9%
Perl
0.1%