|  |  |  | 
|---|
|  |  |  | sendPack.PlayerID = curPlayer.GetPlayerID() | 
|---|
|  |  |  | sendPack.RealmLV = curPlayer.GetOfficialRank() | 
|---|
|  |  |  | sendPack.Job = curPlayer.GetJob() | 
|---|
|  |  |  | sendPack.JobRank = PlayerControl.GetJobRank(curPlayer) | 
|---|
|  |  |  | sendPack.AtkAdd = atkAdd/100 | 
|---|
|  |  |  | NetPackCommon.SendFakePack(notifyPlayer, sendPack) | 
|---|
|  |  |  | return | 
|---|
|  |  |  | 
|---|
|  |  |  | sendMsg = str(sendInfo) | 
|---|
|  |  |  | curPlayer.MapServer_QueryPlayerResult(0, 0, 'DuJieHelpInfo', sendMsg, len(sendMsg)) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def DoRealmUpAddBuff(sendMsg): | 
|---|
|  |  |  | #境界提升给全服在线玩家加经验BUFF | 
|---|
|  |  |  | minRealmLVLimit = IpyGameDataPY.GetFuncCfg('RadioExpRealm') | 
|---|
|  |  |  | playerManager = GameWorld.GetPlayerManager() | 
|---|
|  |  |  | for i in xrange(playerManager.GetActivePlayerCount()): | 
|---|
|  |  |  | curPlayer = playerManager.GetActivePlayerAt(i) | 
|---|
|  |  |  | if curPlayer == None or not curPlayer.GetInitOK(): | 
|---|
|  |  |  | continue | 
|---|
|  |  |  | if PlayerControl.GetIsTJG(curPlayer): | 
|---|
|  |  |  | continue | 
|---|
|  |  |  | if curPlayer.GetOfficialRank() < minRealmLVLimit: | 
|---|
|  |  |  | continue | 
|---|
|  |  |  | curPlayer.MapServer_QueryPlayerResult(0, 0, 'AddBuff', sendMsg, len(sendMsg)) | 
|---|
|  |  |  | return | 
|---|