Page 2 of 3

Re: Official: Assassin.lua

Posted: Mon Feb 27, 2017 6:44 pm
by 0x00
Updated. The teleport behind target skill has been improved.

Re: Official: Assassin.lua

Posted: Tue Feb 28, 2017 4:01 am
by crazymonkey84
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

Re: Official: Assassin.lua

Posted: Tue Feb 28, 2017 4:18 pm
by FarAwaY
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.

Re: Official: Assassin.lua

Posted: Mon Mar 06, 2017 3:25 am
by 0x00
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!

Re: Official: Assassin.lua

Posted: Thu Aug 17, 2017 5:48 am
by maq2285
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?

Re: Official: Assassin.lua

Posted: Thu Aug 17, 2017 12:16 pm
by unkn0wnus3r
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.

Re: Official: Assassin.lua

Posted: Thu Aug 17, 2017 4:00 pm
by FarAwaY
U dont Need to be 75 to have the fire Transformation ^^ from lvl 66 u get noob fire transformation

Re: Official: Assassin.lua

Posted: Sun Aug 20, 2017 3:12 pm
by Quirunerk
What it does ?

Re: Official: Assassin.lua

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

Re: Official: Assassin.lua

Posted: Tue Aug 22, 2017 6:18 pm
by sergeas
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