ildoctore 17 Posted June 7, 2016 Share Posted June 7, 2016 hi, ill try to explain it all the best than i can. i want you to make a lua code for battle pet than use you numº1 pet only the first turn, making he's first regular atack and changing to the pet numº2 to continue fight, and only change if needed because another die to the pet numº3. if you use 1 team with 3 pets: numº1 pets lvl1-15 ,, numº2 and numº3 lvl 25 pts can you help me? if you make me this code ill do profiles to lvl all pets. thanks for colaborate. Best regards Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/ Share on other sites More sharing options...
BetterSister 367 Posted June 8, 2016 Share Posted June 8, 2016 My lua skills aren't enough for this :( Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14575 Share on other sites More sharing options...
dida1990 51 Posted June 8, 2016 Share Posted June 8, 2016 23 hours ago, ildoctore said: hi, ill try to explain it all the best than i can. i want you to make a lua code for battle pet than use you numº1 pet only the first turn, making he's first regular atack and changing to the pet numº2 to continue fight, and only change if needed because another die to the pet numº3. if you use 1 team with 3 pets: numº1 pets lvl1-15 ,, numº2 and numº3 lvl 25 pts can you help me? if you make me this code ill do profiles to lvl all pets. thanks for colaborate. Best regards How good is your lua-knowledge? CastPetAction(index) - Cast the corresponding pet skill PetAttack() - Instruct your pet to attack your target PetDismiss() - Dismiss your pet PickupStablePet(index) Source: http://wowwiki.wikia.com/wiki/World_of_Warcraft_API Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14580 Share on other sites More sharing options...
ildoctore 17 Posted June 9, 2016 Author Share Posted June 9, 2016 my lua knowledge is 0 but i learn fast. ill see what can i do with this. Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14588 Share on other sites More sharing options...
ildoctore 17 Posted June 9, 2016 Author Share Posted June 9, 2016 7 hours ago, dida1990 said: How good is your lua-knowledge? CastPetAction(index) - Cast the corresponding pet skill PetAttack() - Instruct your pet to attack your target PetDismiss() - Dismiss your pet PickupStablePet(index) Source: http://wowwiki.wikia.com/wiki/World_of_Warcraft_API so CastPetAction(1) - Cast the corresponding pet skill PetAttack(1) - Instruct your pet to attack your target PetDismiss(1) - Dismiss your pet PickupStablePet(2) this can work like this? or is by nameS? Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14589 Share on other sites More sharing options...
ildoctore 17 Posted June 9, 2016 Author Share Posted June 9, 2016 can you use 3 pets and make and example? thanks Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14590 Share on other sites More sharing options...
ildoctore 17 Posted June 10, 2016 Author Share Posted June 10, 2016 MODERATOR: can you move this to lua programing? i hope to have help there. thanks Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14616 Share on other sites More sharing options...
Runaro 160 Posted June 10, 2016 Share Posted June 10, 2016 On 6/9/2016 at 3:05 AM, ildoctore said: can you use 3 pets and make and example? thanks 3 hours ago, ildoctore said: MODERATOR: can you move this to lua programing? i hope to have help there. thanks I don't think, someone is going to create for you the code. dida1990 provided you the information, simply start working with it... trial and error. Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14618 Share on other sites More sharing options...
ildoctore 17 Posted June 11, 2016 Author Share Posted June 11, 2016 19 hours ago, Runaro said: I don't think, someone is going to create for you the code. dida1990 provided you the information, simply start working with it... trial and error. this is a share comunity, i hope someone can help, i dont want a full working profile. only an example, is a lot of english information for me on lua codes to look well. Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14671 Share on other sites More sharing options...
dida1990 51 Posted June 11, 2016 Share Posted June 11, 2016 CastPetAction(index [, "unit"]) Arguments: index - Slot in your Pet-Skill-Book - Start top left with "1" and goes down the book with increasing number unit = "target" PetAttack() No arguments, it just autoattacks your target PetDismiss No arguments, just dismissed your actual pet PickupStablePet(index) index - Slot in your pet list (0 = active pet; 1 = first slot in pet list) Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14676 Share on other sites More sharing options...
dida1990 51 Posted June 11, 2016 Share Posted June 11, 2016 for example (no working profile): CastPetAction(3, "target"); -- launches the third spell on the left column at your target PetAttack(); -- pet auto attack your target PetDissmis(); -- Dimiss your pet PickupStablePet(1); -- Summon your first pet Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14677 Share on other sites More sharing options...
dida1990 51 Posted June 11, 2016 Share Posted June 11, 2016 Source: http://wowprogramming.com/docs/api/CastPetAction http://wowprogramming.com/docs/api/PetAttack http://wowprogramming.com/docs/api/PetDismiss http://wowprogramming.com/docs/api/PickupStablePet all I did, was to google this ;) Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14678 Share on other sites More sharing options...
ildoctore 17 Posted June 12, 2016 Author Share Posted June 12, 2016 i found the script here! http://wrobot.eu/forums/topic/734-request-power-leveling-battle-pets-bug-found/?_fromLogin=1 thanks dida1990 for the help on the lua wiki. POST CLOSED Link to comment https://wrobot.eu/forums/topic/3148-leveling-1-to-25-help-with-lua-code-please/#findComment-14683 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now