Official: Assassin.lua

User avatar
0x00
VIP
Posts: 105
Joined: Tue Jan 10, 2017 11:40 pm
Has thanked: 10 times
Been thanked: 23 times

Re: Official: Assassin.lua

Post by 0x00 » Mon Feb 27, 2017 6:44 pm

Updated. The teleport behind target skill has been improved.

crazymonkey84
Posts: 37
Joined: Sun Jan 29, 2017 4:33 am
Has thanked: 6 times
Been thanked: 3 times

Re: Official: Assassin.lua

Post by crazymonkey84 » Tue Feb 28, 2017 4:01 am

oic


if i dont have the exact stigma skills u listed above it wont work at all?

i though it should at least use the stigmas i have on, and skip the ones i dont.

Ill change stigmas when i get home and try again

TY 4 ur support

User avatar
FarAwaY
Posts: 48
Joined: Sun Jan 29, 2017 9:31 pm
Has thanked: 22 times
Been thanked: 13 times

Re: Official: Assassin.lua

Post by FarAwaY » Tue Feb 28, 2017 4:18 pm

Thx 0x00 for your great work. Can U maybe add this under your Apply Deadly Poison Buff Line

Code: Select all

-- Transformation: Slayer
	   -- Buff 2: Transformation: Slayer
	        if Player:GetState():GetState( Helper:CheckName( "Transformation: Slayer" )) == nil and Helper:CheckAvailable( "Transformation: Slayer" ) then
					Helper:CheckExecute( "Transformation: Slayer" );
	    end
		   -- Transformation: Avatar of Fire
		 -- Buff 3: Compassion of Fire
	        if Player:GetState():GetState( Helper:CheckName( "Compassion of Fire" )) == nil and Helper:CheckAvailable( "Compassion of Fire" ) then
					Helper:CheckExecute( "Compassion of Fire" );
	    end
I tested it on EU and it works Great. Maybe NA guys Need to Change the Skill names idk.
Image

User avatar
0x00
VIP
Posts: 105
Joined: Tue Jan 10, 2017 11:40 pm
Has thanked: 10 times
Been thanked: 23 times

Re: Official: Assassin.lua

Post by 0x00 » Mon Mar 06, 2017 3:25 am

FarAwaY wrote:
Tue Feb 28, 2017 4:18 pm
Thx 0x00 for your great work. Can U maybe add this under your Apply Deadly Poison Buff Line

Code: Select all

-- Transformation: Slayer
	   -- Buff 2: Transformation: Slayer
	        if Player:GetState():GetState( Helper:CheckName( "Transformation: Slayer" )) == nil and Helper:CheckAvailable( "Transformation: Slayer" ) then
					Helper:CheckExecute( "Transformation: Slayer" );
	    end
		   -- Transformation: Avatar of Fire
		 -- Buff 3: Compassion of Fire
	        if Player:GetState():GetState( Helper:CheckName( "Compassion of Fire" )) == nil and Helper:CheckAvailable( "Compassion of Fire" ) then
					Helper:CheckExecute( "Compassion of Fire" );
	    end
I tested it on EU and it works Great. Maybe NA guys Need to Change the Skill names idk.
Added. I'm going to add an IF statement to check if it's elyos first!

maq2285
Posts: 10
Joined: Wed Feb 22, 2017 9:12 am
Has thanked: 7 times

Re: Official: Assassin.lua

Post by maq2285 » Thu Aug 17, 2017 5:48 am

Im getting This "- [string "Assassin.lua"]:265: '<name>' expected near '<eof>'
- Unable to find a class or player controller!
- invalid arguments to method call" message when trying this script, what am i doing wrong?

unkn0wnus3r
Posts: 75
Joined: Wed Jan 18, 2017 12:27 pm
Has thanked: 10 times
Been thanked: 13 times

Re: Official: Assassin.lua

Post by unkn0wnus3r » Thu Aug 17, 2017 12:16 pm

0x00 wrote:
Mon Mar 06, 2017 3:25 am
FarAwaY wrote:
Tue Feb 28, 2017 4:18 pm
Thx 0x00 for your great work. Can U maybe add this under your Apply Deadly Poison Buff Line

Code: Select all

-- Transformation: Slayer
	   -- Buff 2: Transformation: Slayer
	        if Player:GetState():GetState( Helper:CheckName( "Transformation: Slayer" )) == nil and Helper:CheckAvailable( "Transformation: Slayer" ) then
					Helper:CheckExecute( "Transformation: Slayer" );
	    end
		   -- Transformation: Avatar of Fire
		 -- Buff 3: Compassion of Fire
	        if Player:GetState():GetState( Helper:CheckName( "Compassion of Fire" )) == nil and Helper:CheckAvailable( "Compassion of Fire" ) then
					Helper:CheckExecute( "Compassion of Fire" );
	    end
I tested it on EU and it works Great. Maybe NA guys Need to Change the Skill names idk.
Added. I'm going to add an IF statement to check if it's elyos first!
I got no 75 so i dont have fire transformation in my script, but i have Slayer and use it kinda like a mana potion.
I check if Player misses 2000 mana and then execute Slayer to keep the bot running longer without needing to rest.

Code: Select all

		if Player:GetManaCurrent() < Player:GetManaMaximum() - 2000 and Helper:CheckAvailable( "Transformation: Slayer" ) then
		Helper:CheckExecute( "Transformation: Slayer" );
			return false;
		end
Assassination is only used if enemy is poisioned:

Code: Select all

	-- Attack 2: Assassination
	if EntityState:GetState( 9100 ) ~= nil and Helper:CheckAvailable( "Assassination" ) then
		Helper:CheckExecute( "Assassination" );
		return false;							  
	end
Quickening Doom also only makes sence if enemy is poisened

Code: Select all

	-- Check if Deadly Poison procced and then QD enemy
	if Helper:CheckAvailable( "Quickening Doom" ) and EntityState:GetState( 9100 ) ~= nil then
		Helper:CheckExecute( "Quickening Doom" );
		return false;								   
	end
Blood Rune is also very usefull for more sustain

Code: Select all

	-- Check if we have enough runes carved on the target.
	if Runes >= 3 then
		if Helper:CheckAvailable( "Blood Rune" ) and Player:GetHealthCurrent() < Player:GetHealthMaximum() * 0.85 then
			Helper:CheckExecute( "Blood Rune" );
			return false;
		end
As i use some other Stigmas i have more buffs

Code: Select all

		if Helper:CheckAvailable( "Oath of Accuracy" ) then
			Helper:CheckExecute( "Oath of Accuracy" );
			return false;
		end
		
		if Helper:CheckAvailable( "Deadly Abandon" ) then
			Helper:CheckExecute( "Deadly Abandon" );
			return false;
		end
Also i got some other tweaks, ill comment some stuff i have changed in my assassin.lua later when im at home or have some free time at work.

User avatar
FarAwaY
Posts: 48
Joined: Sun Jan 29, 2017 9:31 pm
Has thanked: 22 times
Been thanked: 13 times

Re: Official: Assassin.lua

Post by FarAwaY » Thu Aug 17, 2017 4:00 pm

U dont Need to be 75 to have the fire Transformation ^^ from lvl 66 u get noob fire transformation
Image

User avatar
Quirunerk
Posts: 65
Joined: Sun Aug 20, 2017 3:06 pm
Has thanked: 24 times
Been thanked: 1 time

Re: Official: Assassin.lua

Post by Quirunerk » Sun Aug 20, 2017 3:12 pm

What it does ?

maq2285
Posts: 10
Joined: Wed Feb 22, 2017 9:12 am
Has thanked: 7 times

Re: Official: Assassin.lua

Post by maq2285 » Tue Aug 22, 2017 5:48 pm

Anyone got the updated Slayer form to work? please share your code ^^

sergeas
Posts: 27
Joined: Wed May 24, 2017 5:56 pm
Has thanked: 42 times
Been thanked: 4 times

Re: Official: Assassin.lua

Post by sergeas » Tue Aug 22, 2017 6:18 pm

maq2285 wrote:
Tue Aug 22, 2017 5:48 pm
Anyone got the updated Slayer form to work? please share your code ^^

NA version:

Code: Select all

	-- Transformation: Slayer
	if Player:GetState():GetState( Helper:CheckName( "Slayer Form I" )) == nil and Helper:CheckAvailable( "Slayer Form I" ) then
		Helper:CheckExecute( "Slayer Form I" );
		return false;
	end

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests