-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDeathMatch.txt
82 lines (80 loc) · 2.11 KB
/
DeathMatch.txt
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
71
72
73
74
75
76
77
78
79
80
81
82
//==============================================
// - Script By : M-Ro Online
// - Script City : Thailand
// - Script Support Server : Hercules & rAthena
//==============================================
- script Death Match -1,{
OnInit:
set .time, 10;
setarray .map$,
//¡Ó˹´á¼¹·Õè
"m_pvp01",
"m_pvp02",
"m_pvp03",
"prt_pvp";
end;
OnPCDieEvent:
getmapxy( .@map$, .@x, .@y, 0 );
for ( set .@i, 0; .@i < getarraysize(.map$); set .@i, .@i+1 ) {
if ( .@map$ == .map$[.@i] ) {
sleep2 1000;
//àÁ×è͵Ò¨ж١ªØº·Ñ¹·Õ
atcommand "@alive";
//àªç¤äÍà·Á·ÕèàÊÕÂËÒ¶éÒÁÕ«èÍÁãËé·Ñ¹·Õ
if (getbrokenid(1) > 0) { atcommand "@repairall"; }
//á¡éʶҹеèÒ§æ
sc_end SC_POISON;
sc_end SC_FREEZE;
sc_end SC_SLEEP;
sc_end SC_STAN;
sc_end SC_STUN;
sc_end SC_STONE;
sc_end SC_SILENCE;
sc_end SC_BLIND;
sc_end SC_Bleeding;
sc_end SC_CONFUSION;
sc_end SC_CURSE;
sc_end SC_HALLUCINATION;
sc_end SC_ORCISH;
//à¾ÔèÁHPáÅÐSP 100%
percentheal 100,100;
//==============================================
//ºÑ¾¤èÒÍÒËÒà 30¹Ò·Õ Support Hercules
//sc_start SC_FOOD_STR, 1800000,5;
//sc_start SC_FOOD_AGI, 1800000,5;
//sc_start SC_FOOD_VIT, 1800000,5;
//sc_start SC_FOOD_INT, 1800000,5;
//sc_start SC_FOOD_DEX, 1800000,5;
//sc_start SC_FOOD_LUK, 1800000,5;
//ºÑ¾Ê¡ÔŵèÒ§æ
//sc_start SC_BLESSING,1800000,10;
//sc_start SC_INC_AGI, 1800000,10;
//sc_start 41,1800000,10; //¡ÍàÃÕÂ
//sc_start 40,1800000,10; // MAGNIFICAT àÃè§
//==============================================
//ºÑ¾¤èÒÍÒËÒà 30¹Ò·Õ Support rAthena
sc_start SC_STRFood, 1800000,5;
sc_start SC_AGIFood, 1800000,5;
sc_start SC_VITFood, 1800000,5;
sc_start SC_INTFood, 1800000,5;
sc_start SC_DEXFood, 1800000,5;
sc_start SC_LUKFood, 1800000,5;
//ºÑ¾Ê¡ÔŵèÒ§æ
sc_start SC_BLESSING,1800000,10;
sc_start SC_INCREASEAGI,1800000,10;
sc_start 41,1800000,10; //¡ÍàÃÕÂ
sc_start 40,1800000,10; // MAGNIFICAT àÃè§
//==============================================
//ÊØèÁà¡Ô´ã¹á¼¹·Õè
warp .map$[.@i], 0, 0;
break;
}
}
//close;
}
- script Die Message -1,{
OnPCDieEvent:
//¢éͤÇÒÁ·Õè¨ÐáÊ´§ÇèÒµÒÂàËÁ×͹¼ÙéàÅè¹¾ÔÁàͧ
//message strcharinfo(0),"µÙµÒÂÍÕ¡áÅéÇ!!";
emotion e_omg,2;
}