Class GuardSplit


public class GuardSplit extends Split
Averages the defenses of the user and the target and splits them equally.
  • Constructor Details

    • GuardSplit

      public GuardSplit()
      Initializes the status.
  • Method Details

    • getNewInstance

      protected Split getNewInstance(int splitStat1, int splitStat2)
      Description copied from class: Split
      Gets a new instance of a subclass.
      Specified by:
      getNewInstance in class Split
      Parameters:
      splitStat1 - The value of the first stat to split.
      splitStat2 - The value of the second stat to split.
      Returns:
      A new instance of a subclass.