Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KAMKEEL committed Apr 23, 2024
1 parent f92fc47 commit 2f493b3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/kamkeel/npcdbc/api/form/IFormStackable.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public interface IFormStackable {
/**
* @param DBCForm Non-racial DBC Forms, 20 Kaioken, 21 Mystic, 22 UI, 23 GoD
*/
void stackForm(int DBCForm, boolean stackForm);
void allowStackForm(int DBCForm, boolean stackForm);


void setState2Factor(int dbcForm, float factor);
Expand Down
10 changes: 6 additions & 4 deletions src/main/java/kamkeel/npcdbc/constants/DBCForm.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package kamkeel.npcdbc.constants;

public class DBCForm {
//Racial forms
////////////////////////////////
////////////////////////////////
// Saiyan forms
public static final int SuperSaiyan = 1;
public static final int SuperSaiyanG2 = 2; //ssj grade 2
public static final int SuperSaiyanG3 = 3;
Expand All @@ -11,9 +13,9 @@ public class DBCForm {
public static final int SuperSaiyan4 = 14;
public static final int GreatApe = 7;
public static final int SuperGreatApe = 8;
public static final int SuperSaiyanGod = 9;
public static final int SuperSaiyanBlue = 10;
public static final int SuperSaiyanBlueEvolved = 15;
public static final int SaiyanGod = 9;
public static final int SaiyanBlue = 10;
public static final int Shinka = 15; // SSJ Blue Evolved

////////////////////////////////
////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/kamkeel/npcdbc/data/form/FormStackable.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public boolean isFormStackable(int dbcForm) {
}

@Override
public void stackForm(int dbcForm, boolean stackForm) {
public void allowStackForm(int dbcForm, boolean stackForm) {
switch (dbcForm) {
case DBCForm.Kaioken:
kaiokenStackable = stackForm;
Expand Down

0 comments on commit 2f493b3

Please sign in to comment.