| | |
| | | extersion.ComboDamPer = (int)value;
|
| | | break;
|
| | | case PlayerDataRefresh.MaxProDef:
|
| | | extersion.MaxProDef = (int)value;
|
| | | extersion.MaxProDef = (int)value;
|
| | | break;
|
| | | case PlayerDataRefresh.ComboDamRate:
|
| | | extersion.ComboDamPerRate = (int)value;
|
| | |
| | | break;
|
| | | case PlayerDataRefresh.PlayerPKState:
|
| | | extersion.pkState = (int)value;
|
| | | if (hero != null)
|
| | | if (baseData.MapID != 31220)
|
| | | {
|
| | | if (value == 1)
|
| | | if (hero != null)
|
| | | {
|
| | | if (MapArea.IsOutMapArea(hero.CurMapArea, MapArea.E_Type.Neutral))
|
| | | if (value == 1)
|
| | | {
|
| | | hero.SwitchGrayName(true);
|
| | | if (MapArea.IsOutMapArea(hero.CurMapArea, MapArea.E_Type.Neutral))
|
| | | {
|
| | | hero.SwitchGrayName(true);
|
| | | }
|
| | | }
|
| | | }
|
| | | else if (value == 0)
|
| | | {
|
| | | hero.SwitchGrayName(false);
|
| | | if (StatusMgr.Instance.IsExist(PlayerId, StatusMgr.Instance.redNameBuffID))
|
| | | else if (value == 0)
|
| | | {
|
| | | hero.SwitchRedName(true);
|
| | | hero.SwitchGrayName(false);
|
| | | if (StatusMgr.Instance.IsExist(PlayerId, StatusMgr.Instance.redNameBuffID))
|
| | | {
|
| | | hero.SwitchRedName(true);
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|