draken 0 Posted February 15, 2015 Share Posted February 15, 2015 Bonjour Je souhaiterai inclure l'utilisation de la pierre de soin dans un first class demo, mais le terme healthstone n'existe pas dans le choix des spell Pouvez vous m'aidez Merci Link to comment https://wrobot.eu/forums/topic/1979-pierre-de-soin-comment-linclure-dans-un-first-class/ Share on other sites More sharing options...
Droidz 2738 Posted February 15, 2015 Share Posted February 15, 2015 Bonjour, Pour cette http://wowhead.com/item=5512/pierre-de-soins par exemple: - A la place du nom du sort tu mets: local name = GetItemInfo(5512); RunMacroText("/use " .. name) (il faut changer 5512 par l'id de l'item que l'on peut retrouver dans l'url de wowhead) - Dans "Spell Settings" mettre l'option "Not spell, is lua script" à "True". Link to comment https://wrobot.eu/forums/topic/1979-pierre-de-soin-comment-linclure-dans-un-first-class/#findComment-9486 Share on other sites More sharing options...
draken 0 Posted February 15, 2015 Author Share Posted February 15, 2015 Bonjour J ai du faire une erreur dans le code car celà ne fonctionne pas [F] 17:30:33 - Launch LUA script: local name = GetItemInfo(19005);RunMacroText("/use " healthstone) Merci pour votre aide Link to comment https://wrobot.eu/forums/topic/1979-pierre-de-soin-comment-linclure-dans-un-first-class/#findComment-9487 Share on other sites More sharing options...
Droidz 2738 Posted February 15, 2015 Share Posted February 15, 2015 Il faut uniquement changer l'id de l'objet (pas le reste, uniquement le 5512) Copie/colle le code que j'ai mis sur mon post précédent il devrait fonctionner sans modif. Link to comment https://wrobot.eu/forums/topic/1979-pierre-de-soin-comment-linclure-dans-un-first-class/#findComment-9490 Share on other sites More sharing options...
draken 0 Posted February 15, 2015 Author Share Posted February 15, 2015 Bonjour j'avance dans l'application de ce sort à la place de lancer le sort il me l'écrie en blanc sur le chanel dit : use Pierre de soins F] 19:28:08 - Launch LUA script: local name = GetItemInfo(19005);RunMacroText("use " .. name) Link to comment https://wrobot.eu/forums/topic/1979-pierre-de-soin-comment-linclure-dans-un-first-class/#findComment-9491 Share on other sites More sharing options...
draken 0 Posted February 15, 2015 Author Share Posted February 15, 2015 oups oublier le / Apres correction le soin ne se lance pas [F] 20:06:28 - Launch LUA script: local name = GetItemInfo(19005);RunMacroText("/use " .. name) Link to comment https://wrobot.eu/forums/topic/1979-pierre-de-soin-comment-linclure-dans-un-first-class/#findComment-9492 Share on other sites More sharing options...
Droidz 2738 Posted February 15, 2015 Share Posted February 15, 2015 Laisse 5512 comme id, d'après wowhead le 19005 n'existe plus en jeu (http://www.wowhead.com/item=19005/healthstone) Link to comment https://wrobot.eu/forums/topic/1979-pierre-de-soin-comment-linclure-dans-un-first-class/#findComment-9495 Share on other sites More sharing options...
draken 0 Posted February 15, 2015 Author Share Posted February 15, 2015 Le code 5512 ne fonctionne pas mieux [F] 21:04:34 - Launch LUA script: local name = GetItemInfo(5512):RunMacroText("/use " .. name) Link to comment https://wrobot.eu/forums/topic/1979-pierre-de-soin-comment-linclure-dans-un-first-class/#findComment-9496 Share on other sites More sharing options...
Droidz 2738 Posted February 16, 2015 Share Posted February 16, 2015 Le code 5512 ne fonctionne pas mieux [F] 21:04:34 - Launch LUA script: local name = GetItemInfo(5512):RunMacroText("/use " .. name) Tu as mis : au lieux de ;. Copie/colle exactement ce code: local name = GetItemInfo(5512); RunMacroText("/use " .. name) Link to comment https://wrobot.eu/forums/topic/1979-pierre-de-soin-comment-linclure-dans-un-first-class/#findComment-9501 Share on other sites More sharing options...
draken 0 Posted February 16, 2015 Author Share Posted February 16, 2015 Parfait cela fonctionne très bien associe à une potion de quoi bien résister contre les élites merci Link to comment https://wrobot.eu/forums/topic/1979-pierre-de-soin-comment-linclure-dans-un-first-class/#findComment-9506 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