xmas.txt: fixed 2 exploits
added mobs spawn git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@648 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
7d3ca1bd18
commit
5c44ee4a8b
@ -9,6 +9,7 @@ Darkchild
|
|||||||
* Monk Quest - Botting An Acolyte Atm
|
* Monk Quest - Botting An Acolyte Atm
|
||||||
Lupus
|
Lupus
|
||||||
* looking for exploits, optimization, bugs hunt
|
* looking for exploits, optimization, bugs hunt
|
||||||
|
* Lolz - 100%
|
||||||
|
|
||||||
kobra_k88
|
kobra_k88
|
||||||
* Optimize WoE
|
* Optimize WoE
|
||||||
@ -33,6 +34,8 @@ Other Ppl
|
|||||||
Date Added
|
Date Added
|
||||||
======
|
======
|
||||||
|
|
||||||
|
12/20
|
||||||
|
* xmas.txt: Added Xmas Jakk, fixed 2 possible items exploits, fixed reward Box ID [Lupus]
|
||||||
12/18
|
12/18
|
||||||
* My NPC is back in action [Aria]
|
* My NPC is back in action [Aria]
|
||||||
* Added 2 temp kRO shops which sell Arrows, Magic Scrolls. Prices,coords, sprites are unsure, but exploitless [Lupus]
|
* Added 2 temp kRO shops which sell Arrows, Magic Scrolls. Prices,coords, sprites are unsure, but exploitless [Lupus]
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
//===== By: ==================================================
|
//===== By: ==================================================
|
||||||
//= eAthena Dev Team
|
//= eAthena Dev Team
|
||||||
//===== Current Version: =====================================
|
//===== Current Version: =====================================
|
||||||
//= 1.0
|
//= 1.1
|
||||||
//===== Compatible With: =====================================
|
//===== Compatible With: =====================================
|
||||||
//= Any version of eAthena
|
//= Any version of eAthena
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
@ -13,15 +13,18 @@
|
|||||||
//= This npc will disable, the current Santa Claus npc.
|
//= This npc will disable, the current Santa Claus npc.
|
||||||
//===== Additional Comments: =================================
|
//===== Additional Comments: =================================
|
||||||
//= Fixed the spawns [shadowlady]
|
//= Fixed the spawns [shadowlady]
|
||||||
|
//= 1.1 Added Xmas Jakk, fixed 2 exploits, fixed reward Box ID [Lupus]
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|
||||||
xmas_in.gat,100,96,4 script Father Christmas::Santa2 718,{
|
xmas_in.gat,100,96,4 script Father Christmas::Santa2 718,{
|
||||||
mes "[Santa Claus]";
|
mes "[Santa Claus]";
|
||||||
if(event_xmas == 1) goto L_Start;
|
if(#event_xmas > 0 && #event_xmas < 30 ) goto L_Start;
|
||||||
mes "Merry Christmas! I have a gift for you! Ho Ho Ho!";
|
mes "Merry Christmas!";
|
||||||
getitem 664,1;
|
if(Class==0 || #event_xmas>=30 ) close; //anti exploit protection
|
||||||
set event_xmas,1;
|
mes "I have a gift for you! Ho Ho Ho!";
|
||||||
|
getitem rand(664,667),1; //gives one of 4 gift boxes
|
||||||
|
set #event_xmas,#event_xmas+1;
|
||||||
close;
|
close;
|
||||||
|
|
||||||
L_Start:
|
L_Start:
|
||||||
@ -72,12 +75,13 @@ L_Start:
|
|||||||
M_1:
|
M_1:
|
||||||
mes "[Santa Claus]";
|
mes "[Santa Claus]";
|
||||||
if(countitem(7034) < 3) goto L_NotEnuf;
|
if(countitem(7034) < 3) goto L_NotEnuf;
|
||||||
|
delitem 7034,3;
|
||||||
mes "Seems you've been doing a";
|
mes "Seems you've been doing a";
|
||||||
mes "good job of taking down those";
|
mes "good job of taking down those";
|
||||||
mes "fake Santas. Keep it up!";
|
mes "fake Santas. Keep it up!";
|
||||||
next;
|
next;
|
||||||
delitem 7034,3;
|
getitem 644,1; //Gift Box Prototype
|
||||||
getitem 664,1;
|
set #event_xmas,#event_xmas+1;
|
||||||
mes "[Santa Claus]";
|
mes "[Santa Claus]";
|
||||||
mes "There's your reward.";
|
mes "There's your reward.";
|
||||||
mes "If you get 3 more, I'll give you another.";
|
mes "If you get 3 more, I'll give you another.";
|
||||||
@ -87,8 +91,7 @@ L_Start:
|
|||||||
L_NotEnuf:
|
L_NotEnuf:
|
||||||
mes "You don't have enough socks as proof.";
|
mes "You don't have enough socks as proof.";
|
||||||
mes "Go take down those evil Santas";
|
mes "Go take down those evil Santas";
|
||||||
mes "and get more for me and I'll";
|
mes "and get more for me and I'll reward you.";
|
||||||
mes "reward you.";
|
|
||||||
close;
|
close;
|
||||||
M_End:
|
M_End:
|
||||||
mes "[Santa Claus]";
|
mes "[Santa Claus]";
|
||||||
@ -256,3 +259,6 @@ cmd_fild06.gat,0,0,0,0 monster Antonio 1247,1,0,0,0
|
|||||||
cmd_fild07.gat,0,0,0,0 monster Antonio 1247,1,0,0,0
|
cmd_fild07.gat,0,0,0,0 monster Antonio 1247,1,0,0,0
|
||||||
cmd_fild08.gat,0,0,0,0 monster Antonio 1247,1,0,0,0
|
cmd_fild08.gat,0,0,0,0 monster Antonio 1247,1,0,0,0
|
||||||
cmd_fild09.gat,0,0,0,0 monster Antonio 1247,1,0,0,0
|
cmd_fild09.gat,0,0,0,0 monster Antonio 1247,1,0,0,0
|
||||||
|
|
||||||
|
gef_dun01.gat,0,0,0,0 monster Xmas Jakk 1244,5,0,0,0
|
||||||
|
gefenia02.gat,0,0,0,0 monster Xmas Jakk 1244,5,0,0,0
|
Loading…
x
Reference in New Issue
Block a user