Skip to content

Commit

Permalink
Implement healing spell
Browse files Browse the repository at this point in the history
  • Loading branch information
tonihele committed Jul 18, 2024
1 parent bfff5a9 commit f34f51f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/toniarts/openkeeper/game/controller/ShotsController.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.simsilica.es.EntityId;
import java.lang.System.Logger;
import java.util.Map;
import toniarts.openkeeper.game.controller.entity.EntityController;
import toniarts.openkeeper.tools.convert.map.KwdFile;
import toniarts.openkeeper.tools.convert.map.Shot;
import static toniarts.openkeeper.tools.convert.map.Shot.ProcessType.CREATE_CREATURE;
Expand Down Expand Up @@ -74,7 +75,7 @@ public void createShot(short shotTypeId, int shotData1, int shotData2, short pla

}
case MODIFY_HEALTH -> {

EntityController.setDamage(entityData, target, -shotData1);
}
default ->
logger.log(Logger.Level.WARNING, "Shot type {0} not implemented", shot.getProcessType());
Expand Down

0 comments on commit f34f51f

Please sign in to comment.