Help macro Skill Abracadabra Loop Stop Summon

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Message
Author
Sukchay
Noob
Noob
Posts: 2
Joined: 23 Mar 2020, 06:49
Noob?: Yes

Help macro Skill Abracadabra Loop Stop Summon

#1 Post by Sukchay »

I use Abracadabra with a random loop.
Looking for Class Change skill
When I get a Class Change skill, I want Stop Loop Abracadabra.
What conditions do I need to use to determine when I receive Level Change skills will goto Changemonster?

I tried writing and playing at the office now.
Don't know if it can be used or not

Code: Select all

automacro abra {
	pubm /start/i
	sp > 5
	exclusive 1
	call { 
			$Skill = @eval($::char->($skill->getIDN, 292))
			$mon = $.lastMonster
			$i = 0
			$c = $.caller
				while ($i < 100) as loop
				do ss 290
					if ($Skill = 292) goto Summon
				$i++
				end loop
				goto end
				
	:Summon
		if ($mon = 0) goto end
		do sm 292 $mon 1
		release $c
		stop
	:end
		release $c
		stop
		}
		}
MaSSiS