L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 6 Vote(s) - 2.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Summoner Minion
Author Message
kyr Offline
Gremlin
*

Posts: 5
Joined: Sep 2013
Reputation: 0
Version: 1.4.1.112
Post: #1
Summoner Minion

Is there any plugin or script that summons minion automatically its after death?
09-09-2013 21:21 PM
Find all posts by this user Quote this message in a reply
vochikien Offline
Porta
*

Posts: 43
Joined: Feb 2014
Reputation: 11
Version: 1.4.2.135
Post: #2
RE: Summoner Minion

try this


Attached File(s)
.lua  zWynnEven.lua (Size: 13.46 KB / Downloads: 122)
.lua  WynnHuman.lua (Size: 13.46 KB / Downloads: 124)
.lua  WynnDarkEveny.lua (Size: 13.46 KB / Downloads: 148)
05-07-2014 06:59 AM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 642
Version: 1.4.2.133
Post: #3
RE: Summoner Minion

Quote:post is edited
Code:
me = GetMe();

DualHPSkillId = 1986; -- Dual Maximum HP
DualHPSkill = GetSkills():FindById(DualHPSkillId);    --

WynPetSummon = true; -- Auto Summon Pets & Shots (false/true)
WhenManaPercentIsOver = 50; -- Transfer Pain (101 to not use, 0 to use all time)
SummonType = "m"; -- Changes pet type to summon, (m: magic summons, t: tanking summons, w: warrior summons)
BeastSSSummon = true; -- Auto Shot summon (false/true)
BeastSSMinCount = 5000; -- value * 1k to start shot summon
BeastSS = "Beast Soulshot"; -- Shot name for pets
CrystalNameCount = "Crystal (R-grade)"; -- Crystal Name


-- if you want you servitors to use any particular skill they have otherwise set it -1, for list of servitor/pets skill Ids check each class description
if (me:GetClass() == 177) then -- Wynn Elemental Master
    PetActionID = -1; -- Merrow (1130 Unicorn's Aggression, 1131 Unicorn's Stun), Magnus (1132 Unicorn's Bite, 1133 Unicorn's Pounce), Seraphim (1134 Unicorn's Touch, 1135 Unicorn's Power)
elseif (me:GetClass() == 178) then -- Wynn Spectral Master
    PetActionID = -1; -- Nightshade (1136 Phantom Aggression, 1137 Phantom Stun), Spectral Lord (1138 Phantom Bite, 1139 Phantom Pounce), Soulless (1140 Phantom Touch, 1141 Phantom Power)
elseif (me:GetClass() == 176) then -- Wynn Arcana Lord
    PetActionID = -1; -- Kai the Cat (1124 Feline Aggression, 1125 Feline Stun), Feline King (1126 Feline Bite, 1127 Feline Pounce), Feline Queen (1128 Feline Touch, 1129 Feline Power)
end;


function SummonPetsType(tips)
local me = GetMe();
    if (me:GetClass() == 177) then
if (tips == "m") then
return 11331;
elseif (tips == "w") then
return 11330;
elseif (tips == "t") then
return 11329;
end;
    end;
    if (me:GetClass() == 178) then
if (tips == "m") then
return 11340;
elseif (tips == "w") then
return 11339;
elseif (tips == "t") then
return 11338;    
end;
    end;
    if (me:GetClass() == 176) then
if (tips == "m") then
return 11322;    
elseif (tips == "w") then
return 11321;    
elseif (tips == "t") then
return 11320;    
end;
    end;
return -1;
end;

function isTransferPainNeedActivation()
    if (me:GetMpPercent() > WhenManaPercentIsOver) then
return true;
    end;
return false;
end;


function GetItemAmountByName(name)
local invList = GetInventory();
    for item in invList.list do
if (item.Name == name) then
ShotsDisId = item.displayId;
return item.ItemNum;
end;
    end;
return 0;
end;


function GetSummonCount()
local petlistaround = GetPetList();
local count = 0;

    for Apet in petlistaround.list do
if (Apet:GetNickName() == me:GetName()) then
count = count +1;
end;
    end;
    return count;
end;
---- WYNN ----
if (me:GetClass() == 176) or (me:GetClass() == 177) or (me:GetClass() == 178) then
    ShotsActivated = false;
    ShowToClient("Auras","WYNN ON");

    me = GetMe();
    MySkills = GetSkills();
    repeat
target = GetTarget();

if (GetMe():IsAlikeDeath() == true)then
Sleep(5*1000)
repeat
Sleep(1000);
until (GetMe():IsAlikeDeath() == false);
end;

if (me ~= nil) then
if not me:GotBuff(1937) or not me:GotBuff(DualHPSkillId) then
if (MySkills:FindById(1937) ~= nil) and not me:GotBuff(1937) then
UseSkillRaw(1937,false,false);
Sleep(2500);
end;
if (DualHPSkill ~= nil) and not me:GotBuff(DualHPSkillId) then
UseSkillRaw(DualHPSkillId,false,false);
Sleep(2500);
end;
end;

if WynPetSummon then
if not me:GotBuff(11270) then
if isTransferPainNeedActivation() then
if (MySkills:FindById(11270) ~= nil) and not me:GotBuff(11270) then
UseSkillRaw(11270,false,false);
Sleep(4*1000);
end;
end;
end;
if (GetSummonCount() < 2) then
if (GetSummonCount() == 0) then
ShotsActivated = false;
end;
if (SummonPetsType(SummonType) > 0) then
UseSkillRaw(SummonPetsType(SummonType),false,false);
Sleep(1000*2);
ShotsActivated = false;
end;
end;
if BeastSSSummon then
if (GetItemAmountByName(BeastSS) < BeastSSMinCount*1000) then
if (GetItemAmountByName(BeastSS) == 0) then
ShotsActivated = false;
end;
if (MySkills:FindById(11316) ~= nil) and GetItemAmountByName(CrystalNameCount) > 0 and(MySkills:FindById(11316):IsSkillAvailable()) then
UseSkillRaw(11316,false,false);
Sleep(5000);
end;
end;
end;
if not (ShotsActivated) and (GetSummonCount() > 0) and (GetItemAmountByName(BeastSS) > 5) then
ActivateSoulShot(ShotsDisId, true);
ShotsActivated = true;
Sleep(2*1000);
end;
if (target ~= nil) and (me ~= nil) and target:IsMonster() and (GetSummonCount() > 0) and (target:GetDistance() < 1000) then
if not (target:IsAlikeDeath()) then
if (PetActionID > 0) then
Action(PetActionID,false,false);
Sleep(1000);
end;
end;
end;
end;
end;
    Sleep(5*1000);
    until false;


end;


Attached File(s)
.lua  AllWynPetSummon.lua (Size: 4.69 KB / Downloads: 250)

PUSH [Image: knUu53] IF HELPED
(This post was last modified: 05-08-2014 14:15 PM by TheQQmaster.)
05-07-2014 08:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
 Reputed by : benbt91(+2)
automation Offline
Elpy
*

Posts: 3
Joined: Jan 2014
Reputation: 0
Version: 1.4.1.124
Post: #4
RE: Summoner Minion

TheQQmaster:

Hi i just tried your script wich seems pretty awesome but i get an error near the end

No matching overload found candidates bool gotbufff (user cons+,int)

Any idea why i get that ?

thanks
05-08-2014 13:42 PM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 642
Version: 1.4.2.133
Post: #5
RE: Summoner Minion

@automation post edited now code works...

PUSH [Image: knUu53] IF HELPED
05-08-2014 14:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
automation Offline
Elpy
*

Posts: 3
Joined: Jan 2014
Reputation: 0
Version: 1.4.1.124
Post: #6
RE: Summoner Minion

(05-08-2014 14:16 PM)TheQQmaster Wrote:  @automation post edited now code works...

Thanks seems to be flawless Smile
05-08-2014 20:01 PM
Find all posts by this user Quote this message in a reply
dalmas Offline
Elpy
*

Posts: 4
Joined: Mar 2013
Reputation: 0
Version: 1.4.3.143
Post: #7
RE: Summoner Minion

This AllWynPetSummon works perfect except the pets skills (tested after ertheia update ) and if you can add pet heal it would be awesome, thank you for sharing it
08-12-2014 20:17 PM
Find all posts by this user Quote this message in a reply
mikey651990 Offline
Expired VIP Member
**

Posts: 58
Joined: Jun 2015
Reputation: 4
Version: 1.4.2.142
Post: #8
RE: Summoner Minion

since we talking about summoners here anyone have a script for sh2 i wanan hit yin to summon mobs then attack mobs not just keep attacking yin cause it never goes away
08-09-2015 22:13 PM
Find all posts by this user Quote this message in a reply
mikey651990 Offline
Expired VIP Member
**

Posts: 58
Joined: Jun 2015
Reputation: 4
Version: 1.4.2.142
Post: #9
RE: Summoner Minion

have a qustion ill show the script i use for arcana lord summoner but it wont switch betweens summons to heal only heals the summon thats first any idea


Attached File(s)
.lua  WynnHuman.lua (Size: 13.46 KB / Downloads: 17)
08-16-2015 22:42 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Rainbow Solo iss+summoner scripts combo welkinds 119 255,742 12-09-2015 02:18 AM
Last Post: redline10
  weapon for summoner for best pve dps? drake182 3 6,286 06-28-2015 16:39 PM
Last Post: drake182
  100 LVL summoner action ID for commando - witch Leloudi7 3 3,411 06-24-2015 11:16 AM
Last Post: sl86
Smile Elemental Summoner (Merrow the Unicorn) Skill Script feoh_wizard 0 3,413 02-14-2015 09:19 AM
Last Post: feoh_wizard
  Summoner + iss OOP buff exxolon 3 4,172 11-12-2014 18:17 PM
Last Post: tophersoccer
  LF Elemental Summoner - Interlude Script evapore123 0 2,118 09-15-2014 08:40 AM
Last Post: evapore123
  help with summoner pls Nurok 3 2,933 08-02-2014 06:50 AM
Last Post: Fox
  How to set L2Tower for Elemental Summoner rippirippa 2 4,068 07-19-2014 09:04 AM
Last Post: tophersoccer
  Summoner question multiboxingtoon 17 11,529 12-30-2013 01:06 AM
Last Post: Dwarf
  Summoner issue thiss 9 5,430 07-18-2013 23:05 PM
Last Post: thiss



User(s) browsing this thread: 1 Guest(s)