• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

LandCall_Shaman.mac

SaBiN

New member
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
 
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