1.7.10 Files

Files added
This commit is contained in:
KAMKEEL committed 2018-09-13 12:03:28 -04:00
1 parent 393ea9b463
commit a31efb2dc3
1768 files changed
+84831

No files matched your search

@@ -0,0 +1,25 @@
package noppes.npcs.scripted.roles;
import noppes.npcs.entity.EntityNPCInterface;
import noppes.npcs.roles.JobGuard;
import noppes.npcs.roles.JobHealer;
import noppes.npcs.scripted.ScriptLivingBase;
import noppes.npcs.scripted.constants.JobType;
public class ScriptJobHealer extends ScriptJobInterface{
private JobHealer job;
public ScriptJobHealer(EntityNPCInterface npc){
super(npc);
this.job = (JobHealer) npc.jobInterface;
}
public void heal(ScriptLivingBase entity, float amount){
job.heal(entity.getMinecraftEntity(), amount);
}
@Override
public int getType(){
return JobType.HEALER;
}
}