mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-17 00:05:07 -05:00
Fixed: A saber with a Cunning of Tyranus crystal will now display its damage and element correctly after adding pearls.
This commit is contained in:
@@ -1393,7 +1393,7 @@ public class jedi extends script.base_script
|
||||
{
|
||||
int color = getIntObjVar(saber, VAR_SABER_BASE + "." + VAR_COLOR);
|
||||
int colorRow = dataTableSearchColumnForInt(color, "color", JEDI_CRYSTAL_COLOR_TABLE);
|
||||
if (color == 31 || colorRow < 0)
|
||||
if (color > 31 || colorRow < 0)
|
||||
{
|
||||
setWeaponElementalType(saber, DAMAGE_NONE);
|
||||
setWeaponElementalValue(saber, 0);
|
||||
|
||||
Reference in New Issue
Block a user