First of all: TANK U SO MUTCH FOR YOUR WONDERFULL JOB !!!
I was using your bot, some years ago with help of rompros comunity... but they are all gone and the site have ben hacked.
So having start to play again since two months i found your forum and i can just say WOW, i just love : MRC optimized, cavia catch function, invaders, and I'm realy exited with the SOLO (leveling bot) developement.
I'm sure some of my questions are answred somewhere in the forum, but i read much and dident find.
Now my first question:
I downloaded :
userfuncion_teleport.lua
userfuncion_catchcavy.lua
invaders_userfunction.lua
If I understand everything I should have an addon folder (i dont have, and i have updated the bot):
so do i create a new folder "addon" and rename the lua files like this ?:
addon_teleport.lua
addon_catchcavy.lua
addon_invaders_userfunction.lua
or do i stay with my "userfunctions" folder and the orginal names of the lua?
Second question:
I want to have all my skills working with events so I'm using the <onSkillCast> function.
I already have:
Code: Select all
<onSkillCast><![CDATA[
local target = player:getTarget();
if( 50 < target.HP/target.MaxHP*100 ) then
player:cast("MAGE_LIGHTNING");
local target = player:getTarget();
elseif( 70 < target.HP/target.MaxHP*100 ) then
player:cast("MAGE_INTENSIFICATION");
elseif( 30 > target.HP/target.MaxHP*100 ) then
player:cast("MAGE_FIREBALL");
end;
]]></onSkillCast>
How could I set a skill working only if the number of mobs i have agro is > 2 and if they are in range of 50. It's for: MAGE_PURGATORY_FIRE
And can i write a multiple cast on same event like:
Code: Select all
elseif( 70 < target.HP/target.MaxHP*100 ) then
player:cast("MAGE_INTENSIFICATION") and player:cast("MAGE_ENERGY_INFLUX");
PS: I'm not dumb but I'm french so sometimes I dont understand everything :p