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