Jump to content


Photo

Ammo Plugin (request)


    3 replies to this topic

    #1 Toland

    Toland

      Newbie

    • Members
    • Pip
    • 3 posts

      Posted 13 November 2013 - 01:14 AM

      How about a plugin to prevent you from shooting your Rare/Excl Ammo



      #2 onetime

      onetime

        Newbie

      • Members
      • Pip
      • 6 posts

        Posted 13 November 2013 - 08:53 PM

        this is possible using the spellcast plugin.

        <if spell="ranged">
            <if equipammo="Animikii Bullet">
                <cancelspell />
                <equip when="precast"><ammo>Aldivun Bullet</ammo></equip>
                <addtochat color="121">Trying to shoot Animikii Bullet. Action cancelled.</addtochat>
                <return />
            </if>
        </if>
        
        <if type="WeaponSkill">
            <if equipammo="Animikii Bullet">
                <cancelspell />
                <equip when="precast"><ammo>Aldivun Bullet</ammo></equip>
                <addtochat color="121">Trying to shoot Animikii Bullet. Action cancelled.</addtochat>
                <return />
            </if>
        </if>
        

        this cancels current ranged/weaponskill if animikii bullet is equipped. press macro/command again to use your ranged/ws.

         

        source: ttp://guildwork.com/characters/ffxi/carbuncle/elvaanmoq/spellcast


        • Toland likes this

        #3 Toland

        Toland

          Newbie

        • Members
        • Pip
        • 3 posts

          Posted 14 November 2013 - 12:24 AM

          Sweet! I'll setup a COR spellcast



          #4 cytime1000

          cytime1000

            Member

          • Members
          • PipPip
          • 13 posts

            Posted 04 December 2013 - 07:31 PM

            this is possible using the spellcast plugin.

            <if spell="ranged">
                <if equipammo="Animikii Bullet">
                    <cancelspell />
                    <equip when="precast"><ammo>Aldivun Bullet</ammo></equip>
                    <addtochat color="121">Trying to shoot Animikii Bullet. Action cancelled.</addtochat>
                    <return />
                </if>
            </if>
            
            <if type="WeaponSkill">
                <if equipammo="Animikii Bullet">
                    <cancelspell />
                    <equip when="precast"><ammo>Aldivun Bullet</ammo></equip>
                    <addtochat color="121">Trying to shoot Animikii Bullet. Action cancelled.</addtochat>
                    <return />
                </if>
            </if>
            

            this cancels current ranged/weaponskill if animikii bullet is equipped. press macro/command again to use your ranged/ws.

             

            source: ttp://guildwork.com/characters/ffxi/carbuncle/elvaanmoq/spellcast

             

            If you don't have an Aldivun Bullet in inventory and lag happens I have seen this method fail I find almost always best to use <equip when="precast"><ammo>remove</ammo></equip> and aftercast equip remove as well and a equip correct  ammo statement in conjunction with each other from paranoid days of having shot the other 1ish ammo ugh......  A slight castdelay maybe needed on the shot ugh memory failing getting old when swapping bullets from empty....

             

             

            <if commandprefix="/range|/weaponskill">
            <equip when="precast"><ammo>Aldivun Bullet</ammo></equip>
                <if equipammo="Animikii Bullet">
                    <equip><ammo>remove</ammo></equip>
                    <cancelspell />
                    <addtochat>~ ~ ~Stop shooting your Animikii Bullet! ~ ~ ~</addtochat>
                </if>
            </if>
            





            1 user(s) are reading this topic

            0 members, 1 guests, 0 anonymous users