Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use Aoe Runes when no players, but party member is around.
#1
Is there any way to rewrite a party member as a monster or maybe ignore the player nickname or something else? so 2 chars can exp together with AOEs without making a skull?
Reply
#2
U can use substraction - VarSub on a variable that counts number of players nearby in your safe macro if u have one

For example I show you what would I do for my Paladin script.
You can make similar for rune.

[macro]100 {PlayerTimer} Creatures.PlayersOnRange(4)>=2 [tim] antiPK:=0 exit() {tim} VarAdd(antiPK, 1) exit()[/macro]

That delays usage of my safe Mas San

[macro]0 {safe mas san} Self.Mana>=160 Self.Attacking()==1 Creatures.PlayersOnScreen()==01 !antiPK!>=!rsRNG! HUD.Display(mas san) Self.Say(exevo mas san) exit()[/macro]
[macro]2000 {rsRNG} rsRNG:=Misc.Random(30, 70) exit()[/macro]

You can make other variable
friend:=Creatures.ByName(YourFriendName)

then macros would look like

[macro]100 {PlayerTimer} friend:=Creatures.ByRangeName(4, YourFriendName) plr:=Creatures.PlayersOnRange(4) VarSub(plr, !friend!) !plr!>=2 [tim] antiPK:=0 exit() {tim} VarAdd(antiPK, 1) exit()[/macro]

[macro]0 {safe mas san} Self.Mana>=160 Self.Attacking()==1 friends:=Creatures.ByRangeName(4, YourFriendName) plrs:=Creatures.Creatures.PlayersOnRange(4) VarSub(plrs, !friends!) !plrs!==1 !antiPK!>=!rsRNG! HUD.Display(mas san) Self.Say(exevo mas san) exit()[/macro]


Basicly it would check number of players in certain range, and substract 1 from it, if a player with that name is in that range.
Reply
#3
Its like a black magic Big Grin

I copy these macros and changed "YourFriendName" to mine second RP but nothing happens.
How to use it?

For Example i want to use MAS SAN, when 3 monsters around or 3 monsters and my SECOND RP.
For You its propably easy, but im beginner as macro writer, looking forward Smile


This how my safe san looks like

800 {Exevo mas san}
Self.Attacking==01
Self.Mana>=400
Creatures.Beside>=3
Creatures.PlayersOnScreen==01
Self.Say(exevo mas san)
Reply
#4
DONT USE AUTO MACROS FOR ATTACKS!!!!

THats what advanced attack is for.
check mine scripts

\/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)