2021-08-30 00:24:45 +09:00
|
|
|
package sig.skills;
|
|
|
|
|
|
|
|
import sig.Craft;
|
|
|
|
import sig.Skill;
|
|
|
|
|
|
|
|
public class RapidSynthesis extends Skill {
|
|
|
|
|
2021-10-04 07:05:30 +09:00
|
|
|
public RapidSynthesis(String name, int CPCost, boolean guaranteed, int lvReq, int modifier, int key) {
|
|
|
|
super(name, CPCost, guaranteed, lvReq, modifier, key);
|
|
|
|
}
|
|
|
|
|
|
|
|
public RapidSynthesis(String name, int CPCost, boolean guaranteed, int lvReq, int key) {
|
|
|
|
super(name, CPCost, guaranteed, lvReq, key);
|
2021-08-30 00:24:45 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void useSkill(Craft c) {
|
|
|
|
super.useSkill(c);
|
|
|
|
c.craft_progress += c.base_progress * c.progress_mult * 2.5;
|
|
|
|
c.craft_durability -= 10 * c.durability_mult;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|