File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
src/main/java/com/robertx22/age_of_exile
database/data/spells/spell_classes/bases Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,11 @@ public class SpellPredicates {
5151 return true ;
5252 };
5353
54- public static SpellPredicate REQUIRE_SHOOTABLE = new SpellPredicate (SHOOTABLE_PRED , ExileText . ofText ( ChatFormatting . GREEN + "Requires Ranged Weapon to use." ). get ( ));
55- public static SpellPredicate REQUIRE_MAGE_WEAPON = new SpellPredicate (MAGE_PRED , ExileText . ofText ( ChatFormatting . GREEN + "Requires Mage Weapon to use." ). get ( ));
56- public static SpellPredicate REQUIRE_MELEE = new SpellPredicate (MELEE_PRED , ExileText . ofText ( ChatFormatting . GOLD + "Requires Melee weapon to use." ). get ( ));
57- public static SpellPredicate ANY_ITEM = new SpellPredicate (ANY , ExileText . ofText ( ChatFormatting . GOLD + "Any weapon can use." ). get ( ));
58- public static SpellPredicate NON_MAGE_WEAPON = new SpellPredicate (NON_MAGE_PRED , ExileText . ofText ( ChatFormatting . GOLD + "Non Mage weapons can use." ). get ( ));
54+ public static SpellPredicate REQUIRE_SHOOTABLE = new SpellPredicate (SHOOTABLE_PRED , Chats . REQUIRE_RANGED . locaName (). withStyle ( ChatFormatting . GREEN ));
55+ public static SpellPredicate REQUIRE_MAGE_WEAPON = new SpellPredicate (MAGE_PRED , Chats . REQUIRE_MAGE . locaName (). withStyle ( ChatFormatting . GREEN ));
56+ public static SpellPredicate REQUIRE_MELEE = new SpellPredicate (MELEE_PRED , Chats . REQUIRE_MELEE . locaName (). withStyle ( ChatFormatting . GOLD ));
57+ public static SpellPredicate ANY_ITEM = new SpellPredicate (ANY , Chats . ANY_ITEM . locaName (). withStyle ( ChatFormatting . GOLD ));
58+ public static SpellPredicate NON_MAGE_WEAPON = new SpellPredicate (NON_MAGE_PRED , Chats . NONE_MAGE . locaName (). withStyle ( ChatFormatting . GOLD ));
5959
6060}
6161
Original file line number Diff line number Diff line change 77import java .util .Locale ;
88
99public enum Chats implements IAutoLocName {
10+ NONE_MAGE ("Non Mage weapons can use." ),
11+ ANY_ITEM ("Any weapon can use." ),
12+ REQUIRE_MELEE ("Requires Melee weapon to use." ),
13+ REQUIRE_MAGE ("Requires Mage Weapon to use." ),
14+ REQUIRE_RANGED ("Requires Ranged Weapon to use." ),
1015 INFUSES_STATS ("Infuses stats into blank gear." ),
1116 RIGHT_CLICK_TO_GEN_ITEM ("You can also right-click to generate an item." ),
1217
You can’t perform that action at this time.
0 commit comments