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

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AIR RUSH question
Author Message
capucine Offline
Expired VIP Member
**

Posts: 1,083
Joined: Jan 2013
Reputation: 208
Version: 1.4.2.142
Post: #1
AIR RUSH question

Hi guys...

For the Cloud Breaker... How can i make it use Air Rush 1st then Hydro Attack but only use Air Rush if distance from mob allows it...?

I tried to put both in Nuke and Air Rush with condition of mob's hp to be above 95%... and range 800...

But it keeps trying to use it when my toon is next to the mob so she is not using Hydro Attack or if she does, there is a big delay...

I tried adding in self buff with No Target... same problem... I even tried a Feoh script that i had and modified skills id... but same thing...


Anyone has a solution pls???

Thx for sharing and helping!
08-01-2014 04:09 AM
Find all posts by this user Quote this message in a reply
soul2eat Offline
Expired VIP Member
**

Posts: 110
Joined: Nov 2013
Reputation: 24
Version: 1.4.2.132
Post: #2
RE: AIR RUSH question

have you try using it once only in nuke setting? instead of repeat for "air rush"?
08-01-2014 05:04 AM
Find all posts by this user Quote this message in a reply
Fox Away
Fraka-kaka-kaka-kaka-kow!
******

Posts: 5,632
Joined: Oct 2011
Reputation: -6666548
Version: 1.4.2.142
Post: #3
RE: AIR RUSH question

try add delay 2-3 sec the skill cd

Heart
08-01-2014 05:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
valerox22 Offline
Expired VIP Member
**

Posts: 33
Joined: Jan 2012
Reputation: 40
Version: 1.4.2.133
Post: #4
RE: AIR RUSH question

repeat
function AnyFlaggedAround()
local playerlist = GetPlayerList();
for player in playerlist.list do
if (player:IsMyPartyMember() == false) and (player:IsEnemy()) then
if (player:IsPvPFlag() == true) then
if (player:GetDistance() < 1000) then
return true;
end;
end;
end;
end;
return false;
end;
function CountMonstersInRange®
local l = GetMonsterList();
local c = 0;

for user in l.list do
if (not (user:IsAlikeDeath()) and (user:GetRangeTo(GetMe()) < r)) then
c = c + 1;
end;
end;
return c;
end;


---------------------------------------- SINGLE TARGET --------------------------------------------
if (GetTarget() ~= nil) then
if (GetTarget():IsMonster() == true) and (GetTarget():IsAlikeDeath() == false)and (GetMe():IsAlikeDeath() == false)and (GetSkills():FindById(30012):IsSkillAvailable()) then
UseSkillRaw(30012, false, false); -- Air Rush
ClearTarget();
Sleep(500)
end;
end
if (GetTarget() ~= nil) then
if (GetTarget():IsMonster() == true) and (GetTarget():IsAlikeDeath() == false)and (GetMe():IsAlikeDeath() == false)and (GetSkills():FindById(30001):IsSkillAvailable()) then
UseSkillRaw(30001, false, false); -- Hydro Attack
ClearTarget();
Sleep(500)
end;
end
---------------------------------------- BUFFS --------------------------------------------
if (GetSkills():FindById(30017):IsSkillAvailable()) and not GetMe():GotBuff(30017) then -- Squall
UseSkillRaw(30017,false,false);
Sleep(500)
end;


---------------------------------------- PICKUP --------------------------------------------
Sleep(750)
Command("/pickup");
Sleep(750)

until false;




Update

Now make atacks and pick.

check and post , ty
(This post was last modified: 08-01-2014 14:16 PM by valerox22.)
08-01-2014 08:54 AM
Find all posts by this user Quote this message in a reply
 Reputed by : bloomeffect(+1) , Fox(+2) , Luzbell(+1) , dreamsp(+1)
bloomeffect Offline
Elpy
*

Posts: 2
Joined: Jul 2014
Reputation: 0
Version: 1.4.2.132
Post: #5
RE: AIR RUSH question

The script is working fine. Though it would be better to pick mana pots too. Otherwise no mp after a few mins.

Edit: I mean to wait for pickup and not attack the next mob, so l2tower pickup could work.
(This post was last modified: 08-01-2014 12:53 PM by bloomeffect.)
08-01-2014 12:40 PM
Find all posts by this user Quote this message in a reply
Vuon Offline
VIP Member
***

Posts: 75
Joined: Mar 2012
Reputation: 0
Version: 1.4.2.142
Post: #6
RE: AIR RUSH question

Anyone can tell me ?
What is IDs New class Ertheia ? Thanks
08-01-2014 13:11 PM
Find all posts by this user Quote this message in a reply
valerox22 Offline
Expired VIP Member
**

Posts: 33
Joined: Jan 2012
Reputation: 40
Version: 1.4.2.133
Post: #7
RE: AIR RUSH question

(08-01-2014 12:40 PM)bloomeffect Wrote:  The script is working fine. Though it would be better to pick mana pots too. Otherwise no mp after a few mins.

Edit: I mean to wait for pickup and not attack the next mob, so l2tower pickup could work.

Solved. have a pm.
(This post was last modified: 08-01-2014 14:23 PM by valerox22.)
08-01-2014 13:58 PM
Find all posts by this user Quote this message in a reply
 Reputed by : bloomeffect(+1)
Luzbell Offline
Gremlin
*

Posts: 7
Joined: Dec 2012
Reputation: 0
Version: 1.4.2.132
Post: #8
RE: AIR RUSH question

(08-01-2014 08:54 AM)valerox22 Wrote:  repeat
function AnyFlaggedAround()
local playerlist = GetPlayerList();
for player in playerlist.list do
if (player:IsMyPartyMember() == false) and (player:IsEnemy()) then
if (player:IsPvPFlag() == true) then
if (player:GetDistance() < 1000) then
return true;
end;
end;
end;
end;
return false;
end;
function CountMonstersInRange®
local l = GetMonsterList();
local c = 0;

for user in l.list do
if (not (user:IsAlikeDeath()) and (user:GetRangeTo(GetMe()) < r)) then
c = c + 1;
end;
end;
return c;
end;


---------------------------------------- SINGLE TARGET --------------------------------------------
if (GetTarget() ~= nil) then
if (GetTarget():IsMonster() == true) and (GetTarget():IsAlikeDeath() == false)and (GetMe():IsAlikeDeath() == false)and (GetSkills():FindById(30012):IsSkillAvailable()) then
UseSkillRaw(30012, false, false); -- Air Rush
ClearTarget();
Sleep(500)
end;
end
if (GetTarget() ~= nil) then
if (GetTarget():IsMonster() == true) and (GetTarget():IsAlikeDeath() == false)and (GetMe():IsAlikeDeath() == false)and (GetSkills():FindById(30001):IsSkillAvailable()) then
UseSkillRaw(30001, false, false); -- Hydro Attack
ClearTarget();
Sleep(500)
end;
end
---------------------------------------- BUFFS --------------------------------------------
if (GetSkills():FindById(30017):IsSkillAvailable()) and not GetMe():GotBuff(30017) then -- Squall
UseSkillRaw(30017,false,false);
Sleep(500)
end;


---------------------------------------- PICKUP --------------------------------------------
Sleep(750)
Command("/pickup");
Sleep(750)

until false;




Update

Now make atacks and pick.

check and post , ty

It script is getting right error;

"Script Error: Lua error (Script not valid) - [String "repeat..."]:16: 1(' expected near 'local'
08-01-2014 16:41 PM
Find all posts by this user Quote this message in a reply
FzN Offline
Expired VIP Member
**

Posts: 78
Joined: Sep 2012
Reputation: 0
Version: 1.4.1.112
Post: #9
RE: AIR RUSH question

i take same eror
(This post was last modified: 08-01-2014 16:44 PM by FzN.)
08-01-2014 16:44 PM
Find all posts by this user Quote this message in a reply
valerox22 Offline
Expired VIP Member
**

Posts: 33
Joined: Jan 2012
Reputation: 40
Version: 1.4.2.133
Post: #10
RE: AIR RUSH question

Where i create and use and nothing problem, and me friend same,
08-01-2014 17:06 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  L2 Dragon question about bot, working or not kaan22747 0 2,809 02-15-2017 21:10 PM
Last Post: kaan22747
  Question about bot kiciulica66 0 1,949 12-03-2016 01:00 AM
Last Post: kiciulica66
F.A.Q. Sources question teris19942 1 2,812 06-04-2016 02:41 AM
Last Post: gamias1
  Multi-Box software question.. plixplox 3 3,464 11-19-2015 23:17 PM
Last Post: valakas123
F.A.Q. Question (??) budarox 0 2,063 07-04-2015 07:49 AM
Last Post: budarox
  newbie question vipernestas 2 3,283 04-29-2015 16:35 PM
Last Post: tsounakas
  hi all 1 question botosu86 0 1,725 02-24-2015 20:09 PM
Last Post: botosu86
  Question about L2Tower akoaymaylobo 1 2,325 02-04-2015 03:17 AM
Last Post: Fox
  a weird pick up question.... soul2eat 3 3,202 01-07-2015 13:48 PM
Last Post: knutoz
Question Question traytray 3 2,768 12-07-2014 18:41 PM
Last Post: capucine



User(s) browsing this thread: