diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-15 00:34:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-15 00:34:10 -0300 |
commit | fda7f52fa934d21ea8a6f7fe8d363aacbf22128d (patch) | |
tree | e9ae4bc301784abcd5243fa4d630f9c82a7254b6 /npc/007-1 | |
parent | cf9965f364d8dddfc39cc432fdd2ffbe69676054 (diff) | |
download | serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.gz serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.bz2 serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.xz serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.zip |
santime() experiment
Diffstat (limited to 'npc/007-1')
-rw-r--r-- | npc/007-1/dracoula.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/007-1/dracoula.txt b/npc/007-1/dracoula.txt index d7eebbec6..bd09db34c 100644 --- a/npc/007-1/dracoula.txt +++ b/npc/007-1/dracoula.txt @@ -40,7 +40,7 @@ L_Quest: next; } if (.@q == 0) goto L_Continue; - if (gettimetick(2) >= getq2(MineQuest_Dracoula) + 60 * 60 * 23) goto L_Repeat; + if (santime() >= getq2(MineQuest_Dracoula) + 60 * 60 * 23) goto L_Repeat; mesn; mesq l("But come back in a few hours, I didn't lost all @@!", getitemlink(BatTeeth)); close; @@ -84,7 +84,7 @@ L_Finish: delitem BatTeeth, 20; getexp 666, 5; // 20 / 18% = 111 kills * 15 xp = 1665 xp gained from killing. (40% bonus) Zeny = (Zeny + 240); // 3*20 = 60 base (400% bonus) - setq MineQuest_Dracoula, 1, gettimetick(2); + setq MineQuest_Dracoula, 1, santime(); mes ""; mesn; mesq l("WAW thank you! Come back later to bring me extra @@!", getitemlink(BatTeeth)); @@ -95,7 +95,7 @@ L_Finish2: delitem BatTeeth, 11; getexp 275, 1; // 11 / 18% = 61 kills * 15 xp = 915 xp gained from killing. (30% bonus) Zeny = (Zeny + 120); // 3*11 = 33 base (x% bonus) - setq MineQuest_Dracoula, 1, gettimetick(2); + setq MineQuest_Dracoula, 1, santime(); mes ""; mesn; mesq l("So COOL, thanks! Come back later to bring me extra @@!", getitemlink(BatTeeth)); |