예제 #1
0
 public void On079AddExp(Player079AddExpEvent ev)
 {
     if (plugin.Active)
     {
         ev.ExpToAdd = 0;
     }
 }
예제 #2
0
 void IEventHandler079AddExp.On079AddExp(Player079AddExpEvent ev)
 {
     send(ev, new IdMapping()
          .appendId(Lib.PLAYER_ID, ev.Player)
          .appendId(Lib.PLAYER_EVENT_SCPDATA_ID, ev.Player.Scp079Data)
          .appendId(Lib.PLAYER_EVENT_TEAM_ROLE_ID, ev.Player.TeamRole)
          );
 }
예제 #3
0
        public void On079AddExp(Player079AddExpEvent ev)
        {
            float Xp;

            Xp = ev.ExpToAdd;

            if (ev.Player.Scp079Data.Level > 3)
            {
                ev.Player.Scp079Data.MaxAP = ev.Player.Scp079Data.MaxAP + (Xp / 10);
            }
        }
예제 #4
0
        //en tier 5 la xp se acumula como xp adicional y velocidad en la regeneración de la xp
        public void On079AddExp(Player079AddExpEvent ev)
        {
            float Xp;

            Xp = ev.ExpToAdd;
            if (level > 3)
            {
                ev.Player.Scp079Data.APPerSecond = (ev.Player.Scp079Data.APPerSecond + (Xp / 25));
                ev.Player.Scp079Data.MaxAP       = ev.Player.Scp079Data.MaxAP + (Xp / 10);
            }
        }
예제 #5
0
 public void On079AddExp(Player079AddExpEvent ev)
 {
     plugin.Info("ADD 079 XP: " + ev.ExpToAdd.ToString());
 }