Class MyPetGlobal.Skilltree

java.lang.Object
de.Keyle.MyPet.api.MyPetGlobal.Skilltree
Enclosing class:
MyPetGlobal

public static final class MyPetGlobal.Skilltree extends Object
Skilltree assignment rules and the fee for switching.
  • Field Details

    • SWITCH_FEE_PERCENT

      public static final ConfigKey<Integer> SWITCH_FEE_PERCENT
      Percentage of its experience a pet pays to switch skilltree.

      MyPet.Skilltree.SwitchFee.Percent -- default 5.

    • SWITCH_FEE_FIXED

      public static final ConfigKey<Double> SWITCH_FEE_FIXED
      Flat experience a pet pays to switch skilltree.

      MyPet.Skilltree.SwitchFee.Fixed -- default 0.0.

    • SWITCH_FEE_ADMIN

      public static final ConfigKey<Boolean> SWITCH_FEE_ADMIN
      Whether admins pay the switch fee like everyone else.

      MyPet.Skilltree.SwitchFee.Admin -- default false.

    • AUTOMATIC_SKILLTREE_ASSIGNMENT

      public static final ConfigKey<Boolean> AUTOMATIC_SKILLTREE_ASSIGNMENT
      Whether a skilltree is assigned automatically when a pet is leashed.

      MyPet.Skilltree.AutomaticAssignment -- default false.

    • RANDOM_SKILLTREE_ASSIGNMENT

      public static final ConfigKey<Boolean> RANDOM_SKILLTREE_ASSIGNMENT
      Whether the automatic assignment picks a skilltree at random.

      MyPet.Skilltree.RandomAssignment -- default false.

    • CHOOSE_SKILLTREE_ONLY_ONCE

      public static final ConfigKey<Boolean> CHOOSE_SKILLTREE_ONLY_ONCE
      Whether a pet is locked into the first skilltree it is given.

      MyPet.Skilltree.ChooseOnce -- default false.

    • FREE_ASCENSION

      public static final ConfigKey<Boolean> FREE_ASCENSION
      Whether ascending is exempt from the switch fee and from ChooseOnce. Ascending means moving into a skilltree whose own requirement names the pet's current one, as the default skilltrees do at level 20.

      MyPet.Skilltree.FreeAscension -- default true.

    • PREVENT_LEVELLING_WITHOUT_SKILLTREE

      public static final ConfigKey<Boolean> PREVENT_LEVELLING_WITHOUT_SKILLTREE
      Whether a pet with no skilltree is barred from gaining experience.

      MyPet.Skilltree.PreventLevellingWithout -- default true.