Пример #1
0
 public void roll_spoil(L2Player caster, L2Citizen npc)
 {
     if (DropData != null)
     {
         if (DropData.spoil.Count > 0)
         {
             DropData.roll_spoil(caster, npc);
         }
     }
 }
Пример #2
0
        public BuffForQuestReward(L2Citizen npc, L2Character target, int skillId)
        {
            this.npc     = npc;
            this.cha     = target;
            this.skillId = skillId;
            skill        = TSkillTable.getInstance().get(skillId);
            cha.broadcastPacket(new MagicSkillUse(npc, cha, skill, skill.skill_hit_time));

            new Thread(Run).Start();
        }
Пример #3
0
 public void roll_drops(L2Citizen npc, L2Character killer)
 {
     if (DropData != null)
     {
         if (DropData.multidrop.Count > 0)
         {
             DropData.roll_multidrop(npc, killer);
         }
         if (DropData.multidrop_ex.Count > 0)
         {
             DropData.roll_multidrop_ex(npc, killer);
         }
         if (DropData.qdrop.Count > 0)
         {
             DropData.roll_qdrop(npc, killer);
         }
     }
 }