• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

LandCall_Shaman.mac

SaBiN

New member
Joined
Jul 31, 2005
RedCents
Let group/raid know when your slow/cripple lands

Rich (BB code):
|-------------------------------------------------- 
| Name:    LandCall_Shaman.inc 
| Author:    alt228 
| Version:  0.01 
|-------------------------------------------------- 
| Automatically tells the group/raid when a spell 
|   lands on a target 
|-------------------------------------------------- 

#Event LandCall_Shaman_Turgurs "#1# yawns." 
#Event LandCall_Shaman_BoD "#1#'s body slows down." 
#Event LandCall_Shaman_CripplingSpasm "#1#'s muscles spasm uncontrollably." 

Sub Event_LandCall_Shaman_Turgurs(WholeLine, string TargetName) 

   /call LandCall_Shaman_SendMessage "${TargetName}" "<<<${TargetName}>>> slowed by Turgur's Insects" 

/return 

Sub Event_LandCall_Shaman_BoD(WholeLine, string TargetName) 

   /call LandCall_Shaman_SendMessage "${TargetName}" "<<<${TargetName}>>> slowed by Balance of Discord" 

/return 

Sub Event_LandCall_Shaman_CripplingSpasm(WholeLine, string TargetName) 

   /call LandCall_Shaman_SendMessage "${TargetName}" "<<<${TargetName}>>> has been Crippled!" 

/return 

Sub LandCall_Shaman_SendMessage(string TargetName, string MessageToSend) 

   |-------------------------------------- 
   |  if in a raid, call it to /rs 
   |  if just in a group, call it to /g 
   |    don't call anything if I'm afk! 
   |    don't call if I'm not a shaman! 
   |    don't call it if it's not a NPC! 
   |-------------------------------------- 
    
   /if ( !${Me.AFK} && ${Me.Class.Name.Equal[Shaman]} ) { 
      /declare thisSpawnID int local 
      /declare thisSpawnType string local 

      /varset thisSpawnID ${NearestSpawn[${TargetName}].ID} 
      /varset thisSpawnType ${Spawn[${thisSpawnID}].Type} 

      /if ( ${thisSpawnType.Equal[Pet]} ) { 
         /varset thisSpawnType ${Spawn[${thisSpawnID}].Master.Type} 
      } 

      /if ( ${thisSpawnType.Equal[NPC]} ) { 
       
         /if ( ${Raid.Members} > 0 ) { 
            /rs ${MessageToSend} 
         } else /if ( ${Group.Members} > 0 ) { 
            /g ${MessageToSend} 
         } 
          
      } 
   } 

/return
 
Don't let you pet die to rage.

Rich (BB code):
|-------------------------------------------------- 
| Name:    NoRage.inc 
| Author:    alt228 
| Version:  0.04 
|-------------------------------------------------- 
| Automatically turns off attack and backs pet off 
|   when a NPC becomes enraged 
|-------------------------------------------------- 

#Event NoRage_Enraged "#1# has become ENRAGED." 

Sub Event_NoRage_Enraged(WholeLine, string WhosEnraged) 

   /declare thisSpawnID int local 
   /declare thisSpawnType string local 

   /varset thisSpawnID ${NearestSpawn[${WhosEnraged}].ID} 
   /varset thisSpawnType ${Spawn[${thisSpawnID}].Type} 

   /if ( ${thisSpawnType.Equal[Pet]} ) { 
      /varset thisSpawnType ${Spawn[${thisSpawnID}].Master.Type} 
   } 

   /if ( ${thisSpawnType.Equal[NPC]} ) { 
      /echo ${WhosEnraged} enraged - no more attacking! 
      /attack off 
       
      |-------------------------------------------- 
      |  if you have a pet, make it back off too! 
      |-------------------------------------------- 
      /if ( ${Me.Pet.Name.NotEqual[NULL]} ) { 

         /pet hold 
         /pet back off 
         /pet hold 
      } 
   } 

/return
 
Looks like a good idea but wont it call every mob that gets slowed in range? :confused:
 
Any mob you cast it on, as long as it's not resisted a slow message will be relayed to /g or /rs.
 
Im talking about every mob that gets slowed even by another shm. o nm i see how you could make it work. :o
 
LandCall_Shaman.mac

Users who are viewing this thread

Back
Top
Cart