Package de.Keyle.MyPet.api
Class MyPetGlobal.Skilltree
java.lang.Object
de.Keyle.MyPet.api.MyPetGlobal.Skilltree
- Enclosing class:
MyPetGlobal
Skilltree assignment rules and the fee for switching.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPer-skill server-wide settings. -
Field Summary
FieldsModifier and TypeFieldDescriptionWhether a skilltree is assigned automatically when a pet is leashed.Whether a pet is locked into the first skilltree it is given.Whether ascending is exempt from the switch fee and fromChooseOnce.Whether a pet with no skilltree is barred from gaining experience.Whether the automatic assignment picks a skilltree at random.Whether admins pay the switch fee like everyone else.Flat experience a pet pays to switch skilltree.Percentage of its experience a pet pays to switch skilltree. -
Method Summary
-
Field Details
-
SWITCH_FEE_PERCENT
Percentage of its experience a pet pays to switch skilltree.MyPet.Skilltree.SwitchFee.Percent-- default5. -
SWITCH_FEE_FIXED
Flat experience a pet pays to switch skilltree.MyPet.Skilltree.SwitchFee.Fixed-- default0.0. -
SWITCH_FEE_ADMIN
Whether admins pay the switch fee like everyone else.MyPet.Skilltree.SwitchFee.Admin-- defaultfalse. -
AUTOMATIC_SKILLTREE_ASSIGNMENT
Whether a skilltree is assigned automatically when a pet is leashed.MyPet.Skilltree.AutomaticAssignment-- defaultfalse. -
RANDOM_SKILLTREE_ASSIGNMENT
Whether the automatic assignment picks a skilltree at random.MyPet.Skilltree.RandomAssignment-- defaultfalse. -
CHOOSE_SKILLTREE_ONLY_ONCE
Whether a pet is locked into the first skilltree it is given.MyPet.Skilltree.ChooseOnce-- defaultfalse. -
FREE_ASCENSION
Whether ascending is exempt from the switch fee and fromChooseOnce. 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-- defaulttrue. -
PREVENT_LEVELLING_WITHOUT_SKILLTREE
Whether a pet with no skilltree is barred from gaining experience.MyPet.Skilltree.PreventLevellingWithout-- defaulttrue.
-