1
Gold Farming / Re: [Freeshard] Doom Artisan
« on: October 28, 2020, 03:38:35 AM »
Goodmorning everyone,
I enjoyed updating this script these days and as soon as I'm sure it works correctly I will publish it. while I test various things I proceeded to make one for the TANK and it works very well for the moment but I have a problem with the "Revealing the Dark Knight", the magician or tamer can easily find it and cast the Reveal on him, I have problems with the tank that I would like instead of casting the Holy Light remotely to approach and then cast it, can you help me, the part of the script that does this is the following:
Reveal : Event Macro 15 47
Cast Spell [C] Holy Light : Event Macro 15 207
the main problem is that the wizard casts Reveal from a distance on the mob, while the tank casts Holy but on the spot and does not reveal it, I need to bring him closer and then cast Holy.
I enjoyed updating this script these days and as soon as I'm sure it works correctly I will publish it. while I test various things I proceeded to make one for the TANK and it works very well for the moment but I have a problem with the "Revealing the Dark Knight", the magician or tamer can easily find it and cast the Reveal on him, I have problems with the tank that I would like instead of casting the Holy Light remotely to approach and then cast it, can you help me, the part of the script that does this is the following:
Reveal : Event Macro 15 47
Cast Spell [C] Holy Light : Event Macro 15 207
the main problem is that the wizard casts Reveal from a distance on the mob, while the tank casts Holy but on the spot and does not reveal it, I need to bring him closer and then cast Holy.
Quote
;===========================================================
;@Purpose : Revealing the Dark Knight
;===========================================================
Sub RevealKnight
If #FindCnt = 0
{
FindItem XC G_25
Wait 10
If #FindCnt = 0
{
Return
}
}
Set %Teleports #FindCnt
Set %SKX1 #FindX
Set %SKY1 #FindY
If %Teleports = 2
{
Set #FindIndex 2
Set %SKX2 #FindX
Set %SKY2 #FindY
}
Set %RevealTimer #SCnt
For %Reveal 1 %Teleports
{
Move %SKX . %Reveal %SKY . %Reveal 5
Event Macro 15 207
Target 3s
Wait 1s
Set #LTargetX %SKX . %Reveal
Set #LTargetY %SKY . %Reveal
Set #LTargetZ -1
Set #LTargetKind 2
Event Macro 22
}
Return