Re: Official: Assassin.lua
Posted: Mon Feb 27, 2017 6:44 pm
Updated. The teleport behind target skill has been improved.
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" );
endAdded. 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 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
Code: Select all
if Player:GetManaCurrent() < Player:GetManaMaximum() - 2000 and Helper:CheckAvailable( "Transformation: Slayer" ) then
Helper:CheckExecute( "Transformation: Slayer" );
return false;
endCode: Select all
-- Attack 2: Assassination
if EntityState:GetState( 9100 ) ~= nil and Helper:CheckAvailable( "Assassination" ) then
Helper:CheckExecute( "Assassination" );
return false;
endCode: 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;
endCode: 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;
endCode: 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;
endCode: 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