Interface IFormStackable


  • public interface IFormStackable
    This interface is heavily based on controlling Forms interacting with other forms from DBC Vanilla forms and Custom Forms
    • Method Detail

      • setFormMulti

        void setFormMulti​(int DBCForm,
                          float multi)
        Parameters:
        DBCForm - Non-racial DBC Forms, 21 Mystic, 22 UI, 23 GoD
        multi - multiplier
      • getFormMulti

        float getFormMulti​(int DBCForm)
        Parameters:
        DBCForm - Non-racial DBC Forms, 21 Mystic, 22 UI, 23 GoD
        Returns:
        DBCForm's multi
      • setFusionForm

        void setFusionForm​(IForm form)
      • getFusionFormID

        int getFusionFormID()
      • getFusionForm

        IForm getFusionForm()
      • setLegendaryForm

        void setLegendaryForm​(IForm form)
        Parameters:
        form - Sets the form that this form is redirected to when in Legendary status effect
      • getLegendaryFormID

        int getLegendaryFormID()
      • getLegendaryForm

        IForm getLegendaryForm()
      • setDivineForm

        void setDivineForm​(IForm form)
        Parameters:
        form - Sets the form that this form is redirected to when in Divine status effect
      • getDivineFormID

        int getDivineFormID()
      • getDivineForm

        IForm getDivineForm()
      • setMajinForm

        void setMajinForm​(IForm form)
        Parameters:
        form - Sets the form that this form is redirected to when in Majin status effect
      • getMajinFormID

        int getMajinFormID()
      • getMajinForm

        IForm getMajinForm()
      • useConfigMulti

        void useConfigMulti​(int DBCNonRacialFormID,
                            boolean useConfig)
        Parameters:
        DBCNonRacialFormID - Legal values: 25 for Legendary, 26 Divine, 27 Majin
        useConfig - True to use the DBC config multis for legendary majin, DBC addon config multi for Divine since DBC config doesn't have divine multi
      • useConfigMulti

        boolean useConfigMulti​(int DBCNonRacialFormID)
      • isFormStackable

        boolean isFormStackable​(int DBCNonRacialFormID)
        Parameters:
        DBCNonRacialFormID - Non-racial DBC Forms, 20 Kaioken, 21 Mystic, 22 UI, 23 GoD
        Returns:
        True if can stack DBCNonRacialFormID on Custom Form
      • isVanillaStackable

        boolean isVanillaStackable()
      • setVanillaStackable

        void setVanillaStackable​(boolean vanillaStackable)
        Parameters:
        vanillaStackable - True makes this custom form stackable onto Vanilla DBC racial forms. i.e if you go into DBC SSBlue then go into a custom form with default presets, you will maintain the appearance and aura of DBC SSBlue. However, custom forms always have stat calculation priority. If vanilla DBC SSBlue has multi of 100x, and CF has 10x, SSBlue CF will only have the 10x of CF multi.
      • allowStackForm

        void allowStackForm​(int DBCNonRacialFormID,
                            boolean stackForm)
        Parameters:
        DBCNonRacialFormID - Non-racial DBC Forms, 20 Kaioken, 21 Mystic, 22 UI, 23 GoD
        stackForm - true or false
      • setState2Factor

        void setState2Factor​(int dbcForm,
                             float factor)
      • getState2Factor

        float getState2Factor​(int dbcForm)
        Parameters:
        dbcForm - Legal args: 21 UltraInstinct
        Returns:
        how higher a stackable form's multi gets as you go up in state2 i.e. If UI form multi is 10x and State2Factor is 1x, very first UI form multi will be 10x, second UI form multi is 13.3x, final UI form will be 20x if State2Factor is 2x, first is 10x, second is 16.6, final UI form will be 30 and so on. This value scales off as a factor of the form's multiplier