Hello,
I need a script that changes targeting when theres a player on screen.
When nobody in screen - attack monster with spell 'fire strike'
if sb appears on the screen - change spell into 'no spell'
Regards
Hello,
I need a script that changes targeting when theres a player on screen.
When nobody in screen - attack monster with spell 'fire strike'
if sb appears on the screen - change spell into 'no spell'
Regards
auto(100)
if $attacked.id > 0 and $attacked.isshootable and $attacked.dist <= 3 and cancastspell("exori flam") and paround(10) == 0 then
cast("exori flam")
wait(100)
end
http://i.imgur.com/lkWkIMg.png
........................Script Name......................
Profession
Asura Palace ED + EK Characters for sale! | Like Our Facebook! | Sell Tibia Gold
I think it would be more reliable to use targeting and simply enable/disable 'FirstSpell' setting when there is a player around.
auto(100)
local spell = tern(paround() == 0, 'Flame Strike', 'None')
set('Targeting/Creatures/Earth Elementl/Setting1/FirstSpell', spell)
set('Targeting/Creatures/Wolf/Setting1/FirstSpell', spell)
Just make sure to get the path to all creatures and settings you want to change.
http://i.imgur.com/lkWkIMg.png
........................Script Name......................
Profession
Asura Palace ED + EK Characters for sale! | Like Our Facebook! | Sell Tibia Gold
I didn't understand very well...
If I activate exactly like this, it will set the first spell attack against Earth Elemental if there is no players on screen, right?
And if there is a player on screen, what spell it will use? I have to add a second spell then?
Grateful since now.
Dankk.