/// <summary> /// 节点爆破 : 破坏节点,给与对方节点魔力值*5的伤害 /// </summary> /// <param name="m"></param> void pointBomb(ref Magic m) { int pos = magicCore.getRoute()[m.magicRoute[0]].pEnd; magicCore.getPoint(pos).isProtected = false; magicCore.doAOEToMonster(1, magicCore.getPoint(pos).magic * 5); magicCore.getPoint(pos).magic = -1; magicCore.getPoint(pos).isBroken = true; }
public void alchemyE(Move m) { if (magiccore.getPoint(m.pEnd) != magiccore.getPoint(m.pStart)) { doingbuff.count += 1; if (doingbuff.count == doingbuff.maxCount) { int dam; dam = 8; magiccore.doAOEToMonster(dam, 1); doingbuff.count = 0; } } }//炼金阵,可用