Ajout d'une commande /moveitem

Pour parler de tout ce qui n'est pas traité ailleurs !

Moderators: Mappeurs, GM

GonTaa
Gros Nioubi
Posts: 13
Joined: 30 Aug 2019, 16:33
Discord:

Ajout d'une commande /moveitem

Unread post by GonTaa »

Bonjour,

Serait-il possible d’implémenter une commande permettant d'équiper un item depuis son inventaire ?
Exemple : je suis mercenaire, je veux switch entre 2 mains et bouclier, actuellement je dois prendre l'item à la souris (le bouclier, ou l'arme main gauche selon le cas) depuis l'inventaire pour le mettre sur l'emplacement arme main gauche. Cela permettrait de switch rapidement, comme cela est possible sur Phoenix notamment.
/moveitem:

A command to quickly move items./moveitem <source slot> <target slot>
/moveitem totarget (<amount>) <item name>
/moveitem totarget #bag1|#bag2|#bag3|#bag4|#bag5
/moveitem fromtarget (<amount>) <item name>
/moveitem sell (<amount>) <item name>
/moveitem sell #bag1|#bag2|#bag3|#bag4|#bag5
The #bag placeholder means all items in the given bag, this is especially useful with the sell subcommand. For the totarget subcommand, if the target is another player in your realm the items will be put into the trade window, if it is a chest or vault it will be put in there. The command will try to stack items before using an empty slot.
If the first variant is used, only source and target slot, it works like the old /switch command. If the target slot is an active weapon slot, that weapon will be switched to. Example uses: Simple switching between shield and offhand weapon for BM and Mercenary or Hero 2h damage type switching. A list of slots will be provided, we’re unsure if we’ll use the internal DOL slots (40 = bag 1 slot 1, 11 = offhand) or if we’ll provide user friendly alternatives.
Source : http://playphoenix.wiki/slash-commands/

Dans l'attente de vous lire, bisous.
Seikiro
GM
Posts: 131
Joined: 15 Jul 2019, 21:28
Discord:

Re: Ajout d'une commande /moveitem

Unread post by Seikiro »

Est ce que tu as test la commande /switch ?
GonTaa
Gros Nioubi
Posts: 13
Joined: 30 Aug 2019, 16:33
Discord:

Re: Ajout d'une commande /moveitem

Unread post by GonTaa »

Ah non ! Je testerai ça ce week-end :) Elle permet de switch entre 2 armes dont une est dans l'inventaire ?
GonTaa
Gros Nioubi
Posts: 13
Joined: 30 Aug 2019, 16:33
Discord:

Re: Ajout d'une commande /moveitem

Unread post by GonTaa »

On dirait bien que oui ! D'après ce post : https://forums.darkageofcamelot.com/dis ... 738/switch
GonTaa
Gros Nioubi
Posts: 13
Joined: 30 Aug 2019, 16:33
Discord:

Re: Ajout d'une commande /moveitem

Unread post by GonTaa »

Je confirme que la commande /switch fonctionne ! c'est parfait merci !
Post Reply