proposed updates to eq2bot invis handling

LRonSmith

Active Member
Addition of Totem of the Jaguar item and shroud spell to the InvisSpells collection.
diff -c EQ2BotLib.iss EQ2BotLib.iss.custom
Code:
*** EQ2BotLib.iss    2009-06-18 13:40:30.000000000 -0500
--- EQ2BotLib.iss.custom    2009-06-18 13:41:18.000000000 -0500
***************
*** 216,221 ****
--- 216,223 ----
      InvisSpells:Set["Smuggle",11]
      InvisSpells:Set["Wind Walk",24]
      InvisSpells:Set["Totem of the Chameleon",15]
+     InvisSpells:Set["Totem of the Jaguar",15]
+     InvisSpells:Set["Shroud",1]
 
      ;Debug:Echo["${InvisSpells.Used} spells were added to the InvisSpells collection."]
Addition of Dirges checking for invis before casting Gravitas.
diff -c Dirge.iss Dirge.iss.custom
Code:
*** Dirge.iss    2009-06-18 13:52:04.000000000 -0500
--- Dirge.iss.custom    2009-06-18 13:52:12.000000000 -0500
***************
*** 802,807 ****
--- 802,815 ----
  {
      variable string GActor=${UIElement[lbBuffGravitas@Class@EQ2Bot Tabs@EQ2 Bot].SelectedItem[${BuffGravitasMember}].Text}
 
+     ;return if invis and not in combat - we don't want to break invis out of combat
+     if !${Me.ToActor.InCombatMode}
+     {
+         call AmIInvis "DoGravitas"
+         if ${Return.Equal[TRUE]}
+         return
+     }
+
      if !${Me.Ability[${SpellType[156]}].IsReady}
          return
 
Top Bottom