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