@@ -0,0 +1,853 @@
+package com.kancolle.server.service.battle.shelling;%0A%0Aimport com.kancolle.server.model.po.battle.BattleContext;%0Aimport com.kancolle.server.model.po.ship.IShip;%0A%0A/**%0A * Package: com.kancolle.server.service.battle.shelling%0A * Author: mac%0A * Date: 16/4/28%0A */%0Apublic abstract class ShellingTemplate %7B%0A%0A    public final void generateShellingResult(IShip attackShip, IShip defendShip, BattleContext context)%7B%0A%0A    %7D%0A%0A%0A    protected abstract int getAttackType(IShip attackShip, BattleContext context);%0A%0A    protected abstract int getBaiscHoug(IShip attackShip);%0A%0A    /**%0A     * %E8%8E%B7%E5%BE%97%E7%81%AB%E5%8A%9B%E9%98%88%E5%80%BC%E5%89%8D%E6%94%BB%E5%87%BB%E5%8A%9B%0A     * @param attackShip%0A     * @param context%0A     * @return%0A     */%0A    protected abstract int getAttackValueBeforeThreshold(IShip attackShip, BattleContext context);%0A%0A    protected abstract int getDameage(IShip attackShip, IShip defendShip, BattleContext context);%0A%7D%0A

add shelling template