Update gitpod.yml for GitPod usage.

main
Nic0Nic0Nii 3 years ago
parent 7a4e02a8a3
commit 6f3cc44dc0
  1. 3
      SigCrafter/gitpod.yml
  2. 8
      SigCrafter/src/sig/SigCraft.java
  3. 1
      SigCrafter/src/sig/skills/InnerQuiet.java

@ -0,0 +1,3 @@
vscode:
extensions:
- redhat.java

@ -84,14 +84,8 @@ public class SigCraft {
List<Skill> skills = new ArrayList<Skill>();
skills.addAll(SKILLLIST);
skills.removeIf((skill)->{return skill.lvReq>LEVEL;});
for (Skill s : skills) {
Craft c = new Craft(CONTROL,LEVEL,CP,BASE_PROGRESS,PROGRESS_GOAL,QUALITY_GOAL,GUARANTEED,DURABILITY,CRAFT_PROGRESS,CRAFT_QUALITY,DURABILITY,CP,1,1,1,RECIPE_LEVEL,Status.NORMAL);
for (Buff b : BUFFLIST) {
c.BuffList.put(b.name,new Buff(b.name,b.stackCount));
}
if (s.canBeUsed(c)) {s.useSkill(c);c.SkillList.add(s);}
if (c.craftSucceeded()) {SucceededCrafts.add(c);}
System.out.println(c);
while (c.craft_progress<c.progress_goal) {
}
System.out.println(SucceededCrafts);
}

@ -3,7 +3,6 @@ package sig.skills;
import sig.Buff;
import sig.Craft;
import sig.Skill;
import sig.Status;
public class InnerQuiet extends Skill {
public InnerQuiet(String name, int CPCost, boolean guaranteed, int lvReq) {

Loading…
Cancel
Save