summaryrefslogtreecommitdiff
path: root/npc/003-1/ched.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1/ched.txt')
-rw-r--r--npc/003-1/ched.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/003-1/ched.txt b/npc/003-1/ched.txt
index 9ef2a8d5c..41d977cf4 100644
--- a/npc/003-1/ched.txt
+++ b/npc/003-1/ched.txt
@@ -8,7 +8,7 @@
003-1,62,48,0 script Ched NPC_PLAYER,{
function ValidSSC {
- return countitem(CactusCoktail)+countitem(CherryCoktail)+countitem(AppleCoktail);
+ return countitem(CactusCocktail)+countitem(CherryCocktail)+countitem(AppleCocktail);
}
function ScoreSSC {
.@nb = query_sql("SELECT c.name, i.count2 FROM `quest` AS i, `char` AS c WHERE i.quest_id=305 AND i.char_id=c.char_id ORDER BY i.count2 DESC LIMIT 10", .@name$, .@value);
@@ -33,13 +33,13 @@
next;
}
function DepositSSC {
- .@pts=.@pts+countitem(CactusCoktail)*1;
- .@pts=.@pts+countitem(CherryCoktail)*3;
- .@pts=.@pts+countitem(AppleCoktail)*5;
+ .@pts=.@pts+countitem(CactusCocktail)*1;
+ .@pts=.@pts+countitem(CherryCocktail)*3;
+ .@pts=.@pts+countitem(AppleCocktail)*5;
- delitem CactusCocktail, countitem(CactusCoktail);
- delitem CherryCocktail, countitem(CherryCoktail);
- delitem AppleCocktail, countitem(AppleCoktail);
+ delitem CactusCocktail, countitem(CactusCocktail);
+ delitem CherryCocktail, countitem(CherryCocktail);
+ delitem AppleCocktail, countitem(AppleCocktail);
getexp rand(.@pts-1, .@pts*11/10), rand(0,.@pts/25);
@@ -79,7 +79,7 @@ L_Summer:
{
mesn;
mesc l("Current score: @@", @ched), 1;
- mesc l("Thus far you have collected @@ @@, @@ @@ and @@ @@.", countitem(CactusCoktail), getitemlink(CactusCocktail), countitem(AppleCocktail), getitemlink(AppleCocktail), countitem(CherryCocktail), getitemlink(CherryCocktail)), 2;
+ mesc l("Thus far you have collected @@ @@, @@ @@ and @@ @@.", countitem(CactusCocktail), getitemlink(CactusCocktail), countitem(AppleCocktail), getitemlink(AppleCocktail), countitem(CherryCocktail), getitemlink(CherryCocktail)), 2;
mesc l("You can convert these items in event points and claim rewards at autumn."), 2;
next;
select