示例#1
0
 public void AggroStart(Player player, NpcEntity target, long start)
 {
     if (!PlayerAggro.ContainsKey(player))
     {
         PlayerAggro.Add(player, new Dictionary <NpcEntity, Death>());
     }
     if (!PlayerAggro[player].ContainsKey(target))
     {
         PlayerAggro[player][target] = new Death();
     }
     PlayerAggro[player][target].Start(start);
 }
示例#2
0
 public PlayerAbnormals()
 {
     Times  = new Dictionary <HotDot, AbnormalityDuration>();
     Death  = new Death();
     _aggro = new Dictionary <NpcEntity, Death>();
 }