Quote:
Originally Posted by dr_utku
1.it is not related to templar.lua, it is grinder framework. Change the grinder framwork
[Only registered and activated users can see links. Click Here To Register...] under the OfficialGrinderFramwork folder
|
Hi dr_utku thak you very much for your help, yesterday I was able to open the script and it works perfectly, the templar work for 4 continuous hours without stopping until I had to turn off my pc. Thank you very much for your cooperation and patience and again a thousand thanks for the help is very kind. =) Attached my Templar.lua in case anyone is interested; You should only replace the dr_utku GrinderFramework.lua and my Templar.lua file which is as follows:
function Attack( Entity, Range, Stunned )
if self.AttackStarted ~= Entity:GetID() then
self.AttackStarted = Entity:GetID();
Helper:CheckExecute( "Attack/Chat" );
end
if Helper:CheckAvailable( "Reroute Power" ) and Range <= 6 then
Helper:CheckExecute( "Reroute Power" );
end
if Helper:CheckAvailable( "Empyrean Fury" ) and Range <= 6 then
Helper:CheckExecute( "Empyrean Fury" );
end
if Helper:CheckAvailable( "Divine Fury" ) and Range <= 6 then
Helper:CheckExecute( "Divine Fury" );
end
if Helper:CheckAvailable( "Dazing Severe Blow" ) then
self.FerociousTrigger = true;
Helper:CheckExecute( "Dazing Severe Blow" );
end
if Helper:CheckAvailable( "Ferocious Strike" ) then
Helper:CheckExecute( "Ferocious Strike" );
end
if Helper:CheckAvailable( "Body Smash" ) then
Helper:CheckExecute( "Body Smash" );
end
if Helper:CheckAvailable( "Shield Bash" ) then
Helper:CheckExecute( "Shield Bash" );
end
if Helper:CheckAvailable( "Inquisitor's Blow" ) then
Helper:CheckExecute( "Inquisitor's Blow" );
end
if Helper:CheckAvailable( "Punishing Thrust" ) then
Helper:CheckExecute( "Punishing Thrust" );
end
if Helper:CheckAvailable( "Swinging Shield Counter" ) then
Helper:CheckExecute( "Swinging Shield Counter" );
end
-- if Helper:CheckAvailable( "Punishment" ) then
-- Helper:CheckExecute( "Punishment" );
-- return false;
-- end
if Helper:CheckAvailable( "Holy Punishment" ) then
Helper:CheckExecute( "Holy Punishment" );
end
if Helper:CheckAvailable( "Provoking Roar" ) then
Helper:CheckExecute( "Provoking Roar" );
end
if Helper:CheckAvailable( "Sword Storm" ) and Range <= 6 then
Helper:CheckExecute( "Sword Storm" );
end
end
function Heal( BeforeForce)
if Helper:CheckAvailable( "Empyrean Armor" ) and Player:GetHealth() <= 75 then
Helper:CheckExecute( "Empyrean Armor" );
return false;
end
if Helper:CheckAvailable( "Iron Skin" ) and Player:GetHealth() <= 50 then
Helper:CheckExecute( "Iron Skin" );
end
-- Health Recover: Prayer of Resilience
if Player:GetHealth() <= 70 and Helper:CheckAvailable( "Prayer of Resilience" ) then
Helper:CheckExecute( "Prayer of Resilience" );
end
if Helper:CheckAvailable( "Hand of Healing" ) and Player:GetHealth() <= 20 then
Helper:CheckExecute( "Hand of Healing" );
return false;
end
-- Nothing was executed, continue with other functions.
return true;
end
function Pause()
-- Nothing was executed, continue with other functions.
return true;
end