Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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]));
        }
Beispiel #4
0
 public PA_Standart(L2Summon s)
 {
     character = s;
     pet       = (L2Pet)character;
 }
 public ExPartyPetWindowAdd(L2Summon summon)
 {
     this._summon = summon;
 }
 public PetStatusUpdate(L2Summon pet)
 {
     this.pet = pet;
 }
Beispiel #7
0
 public SaStandart(L2Summon s)
 {
     Character = s;
     _summon   = s;
 }
Beispiel #8
0
 public PetStatusUpdate(L2Summon pet)
 {
     _pet = pet;
 }
Beispiel #9
0
 public virtual void onActionClicked(L2Player player, L2Summon pet, int id)
 {
 }
Beispiel #10
0
 public PetInfo(L2Summon pet)
 {
     _pet = pet;
 }
Beispiel #11
0
 public PaStandart(L2Summon s)
 {
     Character = s;
     _pet      = (L2Pet)Character;
 }
Beispiel #12
0
 public SA_Standart(L2Summon s)
 {
     character = s;
     summon    = s;
 }
Beispiel #13
0
 public PetInfo(L2Summon pet)
 {
     this.pet = pet;
 }
Beispiel #14
0
 public virtual void OnActionClicked(L2Player player, L2Summon pet, int actionId)
 {
 }