Commit 2eb352ac authored by Chunchi Che's avatar Chunchi Che

handle pay_lp_cost

parent 89928749
Pipeline #20540 passed with stages
in 6 minutes and 3 seconds
...@@ -44,3 +44,4 @@ export const MSG_SELECT_BATTLE_CMD = 10; ...@@ -44,3 +44,4 @@ export const MSG_SELECT_BATTLE_CMD = 10;
export const MSG_SELECT_UNSELECT_CARD = 26; export const MSG_SELECT_UNSELECT_CARD = 26;
export const MSG_DAMAGE = 91; export const MSG_DAMAGE = 91;
export const MSG_RECOVER = 92; export const MSG_RECOVER = 92;
export const MSG_PAY_LP_COST = 100;
...@@ -119,6 +119,7 @@ export default class GameMsgAdapter implements StocAdapter { ...@@ -119,6 +119,7 @@ export default class GameMsgAdapter implements StocAdapter {
break; break;
} }
case GAME_MSG.MSG_PAY_LP_COST:
case GAME_MSG.MSG_DAMAGE: { case GAME_MSG.MSG_DAMAGE: {
gameMsg.update_hp = MsgDamage(gameData); gameMsg.update_hp = MsgDamage(gameData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment