【掠夺】pvp布阵规则
This commit is contained in:
parent
c9f2b8e36c
commit
4ec2ce61ae
@ -155,7 +155,7 @@ func (this *apiComp) PvpChallenge(session comm.IUserSession, req *pb.PlunderPvpC
|
|||||||
}
|
}
|
||||||
|
|
||||||
if errdata, record = this.module.battle.CreatePvpBattle(session, &pb.BattlePVPReq{
|
if errdata, record = this.module.battle.CreatePvpBattle(session, &pb.BattlePVPReq{
|
||||||
Rulesid: 105,
|
Rulesid: this.module.ModuleTools.GetGlobalConf().PlunderPvpBattlereadyid,
|
||||||
Ptype: pb.PlayType_arena,
|
Ptype: pb.PlayType_arena,
|
||||||
Redformat: &pb.PVPFormation{Uid: session.GetUserId(), Leadpos: req.Battle.Leadpos, Format: heros},
|
Redformat: &pb.PVPFormation{Uid: session.GetUserId(), Leadpos: req.Battle.Leadpos, Format: heros},
|
||||||
Buleformat: &pb.PVPFormation{Uid: land.Ship[req.Oid].Uid, Leadpos: land.Ship[req.Oid].Defend.Leadpos, Format: land.Ship[req.Oid].Defend.Formt},
|
Buleformat: &pb.PVPFormation{Uid: land.Ship[req.Oid].Uid, Leadpos: land.Ship[req.Oid].Defend.Leadpos, Format: land.Ship[req.Oid].Defend.Formt},
|
||||||
@ -172,7 +172,7 @@ func (this *apiComp) PvpChallenge(session comm.IUserSession, req *pb.PlunderPvpC
|
|||||||
Info: &pb.BattleInfo{
|
Info: &pb.BattleInfo{
|
||||||
Id: record.Id,
|
Id: record.Id,
|
||||||
Title: record.Title,
|
Title: record.Title,
|
||||||
Rulesid: 105,
|
Rulesid: this.module.ModuleTools.GetGlobalConf().PlunderPvpBattlereadyid,
|
||||||
Btype: record.Btype,
|
Btype: record.Btype,
|
||||||
Ptype: record.Ptype,
|
Ptype: record.Ptype,
|
||||||
RedCompId: record.RedCompId,
|
RedCompId: record.RedCompId,
|
||||||
|
Loading…
Reference in New Issue
Block a user