Official: Assassin.lua
-
- Posts: 37
- Joined: Sun Jan 29, 2017 4:33 am
- Has thanked: 6 times
- Been thanked: 3 times
Re: Official: Assassin.lua
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
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
Thx 0x00 for your great work. Can U maybe add this under your Apply Deadly Poison Buff Line
I tested it on EU and it works Great. Maybe NA guys Need to Change the Skill names idk.
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

Re: Official: Assassin.lua
Added. I'm going to add an IF statement to check if it's elyos first!FarAwaY wrote: ↑Tue Feb 28, 2017 4:18 pmThx 0x00 for your great work. Can U maybe add this under your Apply Deadly Poison Buff Line
I tested it on EU and it works Great. Maybe NA guys Need to Change the Skill names idk.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
Re: Official: Assassin.lua
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?
- Unable to find a class or player controller!
- invalid arguments to method call" message when trying this script, what am i doing wrong?
-
- Posts: 75
- Joined: Wed Jan 18, 2017 12:27 pm
- Has thanked: 10 times
- Been thanked: 13 times
Re: Official: Assassin.lua
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.0x00 wrote: ↑Mon Mar 06, 2017 3:25 amAdded. I'm going to add an IF statement to check if it's elyos first!FarAwaY wrote: ↑Tue Feb 28, 2017 4:18 pmThx 0x00 for your great work. Can U maybe add this under your Apply Deadly Poison Buff Line
I tested it on EU and it works Great. Maybe NA guys Need to Change the Skill names idk.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 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
Code: Select all
-- Attack 2: Assassination
if EntityState:GetState( 9100 ) ~= nil and Helper:CheckAvailable( "Assassination" ) then
Helper:CheckExecute( "Assassination" );
return false;
end
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
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
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
Re: Official: Assassin.lua
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
Who is online
Users browsing this forum: No registered users and 1 guest