Jump to content


Photo

Mapping new Weather Gear


    2 replies to this topic

    #1 dachan

    dachan

      Newbie

    • Members
    • Pip
    • 2 posts

      Posted 03 September 2017 - 11:06 AM

      I'm been trying to figure out how to map other gear so it function the same as the obi's or twilight cape.  I wanted to set chatoyant staff using something like gear.ElementalStaff the same was i would for the obis in the midcast set.  However no matter how i try to map this i can't get it to work.  Any suggestions?  

       

      Here's an idea of what I'm trying to do:

       

      WHen casting cure on lightday or lightsweahter i want my main to equip chatoyant staff and sub enki strap. And when there is no weather i want my main to default to gada and sub genbu's shield.  

       

      This would mirror how the obis defualts to bishops sash.

       

      However, there is no current rule like this and i have been trying to map it like the obi was map but I can't get it to work.  Any help would be greatly appreciate.  Thanks~



      #2 sdahlka

      sdahlka

        Advanced Member

      • Members
      • PipPipPip
      • 324 posts

        Posted 03 September 2017 - 04:53 PM

        like this
         

        if S{'Cura','Cura II','Cura III','Curaga','Curaga II','Curaga III','Curaga IV','Curaga V','Cure','Cure II','Cure III',
            'Cure IV','Cure V','Cure VI'}:contans(spell.name) and 
            (world.day == "Lightsday" or S("Auroras","Stellar glare"):contains(world.weather)) then
            --equip chatoyant staff and sub enki strap
        else
            --equip gada and sub genbu's shield
        end
        


        #3 dachan

        dachan

          Newbie

        • Members
        • Pip
        • 2 posts

          Posted 03 September 2017 - 05:45 PM

          thanks...Got it to work






          1 user(s) are reading this topic

          0 members, 1 guests, 0 anonymous users