Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

leveling 1 to 25 help with lua code please

Featured Replies

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

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

  • 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?

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.

  • 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.

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)

 

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

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.