Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MACRO - SUPER SAFE SPELL CAST
#1
English:

This macro will cast a spell when you have more then a certain number of creatures beside you.

If a player shows in your screen, it will stop casting the spell for a certain time, so even if the player lures creatures next to a stair or a place he/she can "Exani hur Up/Down" your Char won't hit him.

You can configure the number of creatures beside you to cast the spell, and how long the macro will stop casting the spell if a player shows in your screen.

Code:
500 {Safe Spell by C} Criaturas:=3 Wait:=1 VarMult(Wait, 120) Creatures.PlayersOnScreen()>=2 [sp] Time:=0 Exit() {sp} VarAdd(Time, 1) Creatures.Beside()>=!Criaturas! !Time!>=!Wait! Self.Say(exori) Exit()

Criaturas:=3 - Change 3 to the number of creatures beside you to cast the spell.
Wait:=1 Change 1 to the number of minutes you want to stop casting the spell.
Self.Say(exori) - Change Exori to the spell you want to cast.

PS: Do NOT use this macro twice, for 2 different spells in the same script, it will mess up the time counter and you will end up not waiting the correct time. If you want to use it twice, post a reply here and I will post a second macro.

Please, if you liked this, click on "Give Reputation to this user", it motivates us, scripters, to release our codes.

Thank you.


Portuguese:

Este macro vai soltar uma magia quando um certo numero de criaturas estiverem ao seu lado.

Se outro jogador aparecer na sua tela, ele vai parar de soltar a magia por um certo tempo, então mesmo que o jogador lure criaturas para perto de uma escada ou algum lugar que ele possa dar "Exani hur up/down" seu Char não vai atingi-lo acidentalmente.

Você pode configurar o numero de criaturas ao seu lado para soltar a magia e o tempo que ele vai ficar sem soltar quando algum player aparecer na sua tela.

Code:
500 {Safe Spell by C} Criaturas:=3 Wait:=1 VarMult(Wait, 120) Creatures.PlayersOnScreen()>=2 [sp] Time:=0 Exit() {sp} VarAdd(Time, 1) Creatures.Beside()>=!Criaturas! !Time!>=!Wait! Self.Say(exori) Exit()

Criaturas:=3 - Mude de 3 para o numero de criaturas ao seu lado que você quer soltar a magia.
Wait:=1 Mude de 1 para o numero de minutos que você quer que ele não solte magia quando um jogador aparecer na sua tela.
Self.Say(exori) - Mude de Exori para a magia que você quer soltar.

OBS: Não use este macro 2 vezes no mesmo script, isso vai atrapalhar o contador de tempo e você vai acabar voltando a soltar a magia bem antes do tempo configurado. Se você quiser 2 macros pra soltar 1 magia com um certo numero de criaturas e outra com outro numero, poste uma resposta aqui que eu posto um segundo macro.

Se você gostou deste macro, por favor click em "Give Reputation to this user", isso nos motiva a liberar nossos códigos!

Obrigado.
#2
Nao funcionou aqi :/
#3
Its not safe all the time! LOL! epic fail :/ tried it and got pk, and some guys killed me-.-


Forum Jump:


Users browsing this thread: 1 Guest(s)