FelisMalum
Well-known member
- Joined
- Mar 7, 2022
- RedCents
- 439¢
- Pronouns
- She/Her
For clarity just restarting the thread. Going to call this the beta version. At this point I'm going to put it into use, only GH tested and not field. Could use some polish and options but atm I think it fixes all of the previous issues. Will modify for dru/sha soon, they should be easy with the base done, just some spell name changes and ability/combat checks. Issues to address (please feel free to suggest more):
1) Will still cast normal rez after divine rez.
2) Multi-corpse support.
3) Fix the precondition of the script call so it doesn't always evaluate to true and run the script just to be kicked back.
4) It does not appear as if any of the announce entries actually trigger. Guessing due to how MB processes the script.
Will need to add a line to modheal.inc in the declare section:
Remaining 3 entries needed:
1) Will still cast normal rez after divine rez.
2) Multi-corpse support.
3) Fix the precondition of the script call so it doesn't always evaluate to true and run the script just to be kicked back.
4) It does not appear as if any of the announce entries actually trigger. Guessing due to how MB processes the script.
Will need to add a line to modheal.inc in the declare section:
/declare AHRezTimer timer outerRemaining 3 entries needed:
Code:
|Handles the checking and targeting of corpse, adjust the timer (C8) as necessary for delays between rez attempts:
[Script-RezScript]
Commands=9
C1=/if (!{Spawn[pccorpse radius 80].ID} || {AHRezTimer}) /return
C2=/varset AHTargetName {NearestSpawn[1,pccorpse radius 80].ID}
C3=/target id {NearestSpawn[1,pccorpse radius 80].ID}
C4=/delay 5 {Target.Type.Equal[pccorpse]}
C5=/corpse
C6=/if ({Spawn[id {AHTargetName}].CleanName.Find[${Group.MainTank.Name}]} && {Me.AltAbilityReady[Divine Resurrection]}) /call CastCall {Me.CleanName} ''cast divinerez {Spawn[pccorpse].ID}''
C7=/if ({Me.AltAbilityReady[Blessing of Resurrection]}) /call CastCall {Me.CleanName} ''cast rez {Spawn[pccorpse].ID}''
C8=/varset AHRezTimer 10s
C9=/return
|Triggers and calls the rez script:
[AB1]
Gem=script
Spell=RezScript
SpellFoci=
DurMod=0
SpellAlias=rezcheck
Announce=/bc Found PC corpse
SpellMinMana=0
TarCnt=1
TarType=self cbt idle
Recast=FALSE
SpellIcon=
PreCondition=TRUE
|The actuall rez entries called by script:
[AB12]
Gem=alt
Spell=Blessing of Resurrection
SpellFoci=
DurMod=0
SpellAlias=rez
Announce=/bc Resing %t
SpellMinMana=0
TarCnt=0
TarType=clr
Recast=FALSE
SpellIcon=
PreCondition=TRUE
[AB13]
Gem=alt
Spell=Divine Resurrection
SpellFoci=
DurMod=0
SpellAlias=divinerez
Announce=/bc Divine Rez to %t
SpellMinMana=0
TarCnt=0
TarType=clr
Recast=FALSE
SpellIcon=
PreCondition=TRUE
Last edited:

