Ejemplo n.º 1
0
        public override TEffectResult onStart(world.L2Character caster, world.L2Character target)
        {
            L2Summon summon = new L2Summon();

            summon.setTemplate(NpcTable.Instance.getNpcTemplate(npcId));
            summon.setOwner((L2Player)caster);
            summon.SpawmMe();

            return(nothing);
        }
Ejemplo n.º 2
0
        public override EffectResult OnStart(L2Character caster, L2Character target)
        {
            L2Summon summon = new L2Summon();

            //summon.setTemplate(NpcTable.Instance.GetNpcTemplate(npcId));
            summon.SetOwner((L2Player)caster);
            summon.SpawmMe();

            return(Nothing);
        }
Ejemplo n.º 3
0
        public override void OnActionClicked(L2Player player, L2Summon pet, int actionId)
        {
            string value = null;

            switch (actionId)
            {
            case 1013:
                value = "DeBuff1";
                break;

            case 1014:
                value = "DeBuff2";
                break;

            case 1015:
                value = "Heal";
                break;

            default:
                if (actionId == GetValueInt("buff_action3"))
                {
                    value = "buff3";
                }
                else
                {
                    if (actionId == GetValueInt("buff_action4"))
                    {
                        value = "buff4";
                    }
                    else
                    {
                        if (actionId == GetValueInt("buff_action5"))
                        {
                            value = "buff5";
                        }
                    }
                }
                break;
            }

            if (value == null)
            {
                return;
            }

            int[] skill = GetValueSkill(value);
            pet.CastSkill(SkillTable.Instance.Get(skill[0], skill[1]));
        }
Ejemplo n.º 4
0
 public PA_Standart(L2Summon s)
 {
     character = s;
     pet       = (L2Pet)character;
 }
Ejemplo n.º 5
0
 public ExPartyPetWindowAdd(L2Summon summon)
 {
     this._summon = summon;
 }
Ejemplo n.º 6
0
 public PetStatusUpdate(L2Summon pet)
 {
     this.pet = pet;
 }
Ejemplo n.º 7
0
 public SaStandart(L2Summon s)
 {
     Character = s;
     _summon   = s;
 }
Ejemplo n.º 8
0
 public PetStatusUpdate(L2Summon pet)
 {
     _pet = pet;
 }
Ejemplo n.º 9
0
 public virtual void onActionClicked(L2Player player, L2Summon pet, int id)
 {
 }
Ejemplo n.º 10
0
 public PetInfo(L2Summon pet)
 {
     _pet = pet;
 }
Ejemplo n.º 11
0
 public PaStandart(L2Summon s)
 {
     Character = s;
     _pet      = (L2Pet)Character;
 }
Ejemplo n.º 12
0
 public SA_Standart(L2Summon s)
 {
     character = s;
     summon    = s;
 }
Ejemplo n.º 13
0
 public PetInfo(L2Summon pet)
 {
     this.pet = pet;
 }
Ejemplo n.º 14
0
 public virtual void OnActionClicked(L2Player player, L2Summon pet, int actionId)
 {
 }