June 7, 20169 yr 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
June 8, 20169 yr 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
June 9, 20169 yr Author 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?
June 10, 20169 yr Author MODERATOR: can you move this to lua programing? i hope to have help there. thanks
June 10, 20169 yr 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.
June 11, 20169 yr Author 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.
June 11, 20169 yr 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)
June 11, 20169 yr 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
June 11, 20169 yr 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 ;)
June 12, 20169 yr Author 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
Create an account or sign in to comment