-
Notifications
You must be signed in to change notification settings - Fork 6
/
BuffVip.event
70 lines (58 loc) · 1.29 KB
/
BuffVip.event
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#Macro salva cidade, kafra, armazém e procura buffVip na cidade salva.
#Macro funcional no thor e valhalla
#Atualizada 14/07/2017
#By Snaadboy / Veins por scherinha
#Copiar com os créditos
automacro AcabouBuffVip {
StatusInactiveHandle EFST_FOOD_AGI
InInventory "Emblema do Grupo Valhalla" = 1
exclusive 1
timeout 40
call {
$mapaSalvo = &config (saveMap)
if ($mapaSalvo = prontera) {
$coordenadaAgenteVip = 146 93
}
if ($mapaSalvo = geffen) {
$coordenadaAgenteVip = 126 64
}
if ($mapaSalvo = aldebaran) {
$coordenadaAgenteVip = 144 116
}
if ($mapaSalvo = payon) {
$coordenadaAgenteVip = 184 102
}
if ($mapaSalvo = morocc) {
$coordenadaAgenteVip = 146 93
}
if ($mapaSalvo = yuno) {
$coordenadaAgenteVip = 149 187
}
if ($mapaSalvo = veins) {
$coordenadaAgenteVip = 210 109
}
do conf -f irPegarBuff sim
do respawn
}
}
automacro irProNpcVip {
ConfigKey irPegarBuff sim
exclusive 1
NpcNotNear /Vip/
StatusInactiveHandle EFST_FOOD_AGI
call {
do move $mapaSalvo $coordenadaAgenteVip &rand(2,7)
}
}
automacro pertoDoNpcVip {
ConfigKey irPegarBuff sim
exclusive 1
NpcNear /Vip/
StatusInactiveHandle EFST_FOOD_AGI
InSaveMap 1
call {
do talknpc $coordenadaAgenteVip r2 r3
do is &inventory(Pílula de SP)
do conf -f irPegarBuff none
}
}