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
dash skill(TH)
Author Message
aisvariukas Offline
Gremlin
*

Posts: 5
Joined: Nov 2014
Reputation: 0
Version: 1.4.3.143
Post: #1
Big Grin dash skill(TH)

hello, im looking for script, tryed to create something.. couple of times and all was failed.. so i will ask u, could u help me create script for dash skill to use it straight after cool-down over and over again in my server dash buff last for 15 second, cool- down 13 sec, thank you
11-12-2014 18:04 PM
Find all posts by this user Quote this message in a reply
tophersoccer Offline
Expired VIP Member
**

Posts: 422
Joined: Aug 2012
Reputation: 142
Version: 1.4.3.143
Post: #2
RE: dash skill(TH)

(11-12-2014 18:04 PM)aisvariukas Wrote:  hello, im looking for script, tryed to create something.. couple of times and all was failed.. so i will ask u, could u help me create script for dash skill to use it straight after cool-down over and over again in my server dash buff last for 15 second, cool- down 13 sec, thank you

this might do the trick, you can add in more skills to spam if you understand how it works, but i can add them in if you want

    LUA Programming
ShowToClient("GOD","What What in da butt",3);
 
function GetSkillIdByName(name)
	skills = GetSkills()
	for s in skills.list do
		 if s.name == name then
			 return s.skillId
		 end
	end
end
----------------------SKILLZ-------------------------------
-----------------------------------------------------------
SkillName = "Dash"; -------------------------
SkillId = GetSkillIdByName(SkillName);
--SkillName2 = "Double Attack";
--SkillId2 = GetSkillIdByName(SkillName2);
--------------------------------------------------------------
--------------------------------------------------------------
 
function Cast(id)
	if id then
		 skill = GetSkills():FindById(id)
		 if skill and skill:CanBeUsed() then
			 UseSkillRaw(id,false,false)
			 return true
		 end
	end
	return false
end
 
function SpamSkills()
	if
		 GetMe():GetMp() > 200 and
		 (
			 Cast(SkillId) --or
			 --Cast(SkillId2)
		 )
		 then return
	end
end
 
repeat
-----------------------------------------------
if not IsPaused() then
        --target = GetTarget()
        --if  GetMe():GetMp() > 200 and
           -- not GetMe():IsBlocked(true) and
            --target and
            --target:IsMonster() and not
	    --target:IsAlikeDeath() and
            --target:GetDistance() < 120 then
            SpamSkills()
       --end
    end
    Sleep(200)
-----------------------------------------------
until false;

(This post was last modified: 11-12-2014 20:58 PM by tophersoccer.)
11-12-2014 18:10 PM
Find all posts by this user Quote this message in a reply
aisvariukas Offline
Gremlin
*

Posts: 5
Joined: Nov 2014
Reputation: 0
Version: 1.4.3.143
Post: #3
RE: dash skill(TH)

im non-premium is that gonna be problem here Smile?
11-12-2014 18:14 PM
Find all posts by this user Quote this message in a reply
tophersoccer Offline
Expired VIP Member
**

Posts: 422
Joined: Aug 2012
Reputation: 142
Version: 1.4.3.143
Post: #4
RE: dash skill(TH)

(11-12-2014 18:14 PM)aisvariukas Wrote:  im non-premium is that gonna be problem here Smile?

nah brah. you can tell if its premium if you see -> SCONFIG = L2TConfig.GetConfig(); as the first statement
(This post was last modified: 11-12-2014 18:19 PM by tophersoccer.)
11-12-2014 18:18 PM
Find all posts by this user Quote this message in a reply
aisvariukas Offline
Gremlin
*

Posts: 5
Joined: Nov 2014
Reputation: 0
Version: 1.4.3.143
Post: #5
RE: dash skill(TH)

thanks a lot bro, im not used to those +rep things, if i can give i give it i dont know how Big Grin

atm is not working for me( i tried just copy and paste ) now ill try to change something like (name) (id) ill let u know
(This post was last modified: 11-12-2014 19:29 PM by aisvariukas.)
11-12-2014 19:23 PM
Find all posts by this user Quote this message in a reply
Vinter Offline
Expired VIP Member
**

Posts: 299
Joined: Sep 2013
Reputation: 109
Version: 1.4.1.128
Post: #6
RE: dash skill(TH)

Use the l2tower self buff option.. and instead of auto detect delay, put 13 or 14 seconds and you're done.
11-12-2014 19:42 PM
Find all posts by this user Quote this message in a reply
aisvariukas Offline
Gremlin
*

Posts: 5
Joined: Nov 2014
Reputation: 0
Version: 1.4.3.143
Post: #7
RE: dash skill(TH)

thanks i got it very easy by "party buff" thing, so helpfull thanks
11-12-2014 19:58 PM
Find all posts by this user Quote this message in a reply
tophersoccer Offline
Expired VIP Member
**

Posts: 422
Joined: Aug 2012
Reputation: 142
Version: 1.4.3.143
Post: #8
RE: dash skill(TH)

(11-12-2014 19:23 PM)aisvariukas Wrote:  thanks a lot bro, im not used to those +rep things, if i can give i give it i dont know how Big Grin

atm is not working for me( i tried just copy and paste ) now ill try to change something like (name) (id) ill let u know

Oh i see you just want to use it to run around in pve? the script was setup for when your attacking so my bad. I changed it so it will spam Dash whenever, it would be much faster than the self buff thing you figured out.
(This post was last modified: 11-12-2014 20:59 PM by tophersoccer.)
11-12-2014 20:54 PM
Find all posts by this user Quote this message in a reply
aisvariukas Offline
Gremlin
*

Posts: 5
Joined: Nov 2014
Reputation: 0
Version: 1.4.3.143
Post: #9
RE: dash skill(TH)

thanks ur one is working now Smile
11-13-2014 18:50 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  l2tower using skill's bogdanel 2 3,711 11-10-2015 18:17 PM
Last Post: cvetangor
  Get skill enchant level raid1141 1 4,141 10-15-2015 14:57 PM
Last Post: raid1141
  stealth dash script SeraNoxa 9 4,150 07-13-2015 20:54 PM
Last Post: SeraNoxa
  Nuke/skill delay lordbauer 6 5,278 04-15-2015 02:44 AM
Last Post: plixplox
Smile Elemental Summoner (Merrow the Unicorn) Skill Script feoh_wizard 0 3,199 02-14-2015 09:19 AM
Last Post: feoh_wizard
  Problema con IDs Skill ronycontreras 4 3,742 09-30-2014 23:18 PM
Last Post: ronycontreras
  Dark Assasin Move skill tuxevil 2 2,447 09-25-2014 03:09 AM
Last Post: soul2eat
  Skill does not work (Yul) henryhawk 0 1,530 09-01-2014 07:29 AM
Last Post: henryhawk
  SKILL ID leoss 3 2,794 07-02-2014 08:21 AM
Last Post: breaverbg
Information Tyrr maestro stops use nukes and toggle skill Botter100 5 4,902 06-24-2014 08:37 AM
Last Post: vochikien



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