summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-21 19:38:36 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-21 19:38:36 -0300
commita7e6f0717a6d2e4c409b81eec58dad71fb668887 (patch)
tree60bbe774802aafc951611ca347542e972527dd87
parentf6c1f938f320ff7a7b23c6ca44951564dafd0762 (diff)
downloadserverdata-a7e6f0717a6d2e4c409b81eec58dad71fb668887.tar.gz
serverdata-a7e6f0717a6d2e4c409b81eec58dad71fb668887.tar.bz2
serverdata-a7e6f0717a6d2e4c409b81eec58dad71fb668887.tar.xz
serverdata-a7e6f0717a6d2e4c409b81eec58dad71fb668887.zip
Baktar - No longer accept Daggers. Payment raised.
-rw-r--r--db/re/item_db.conf2
-rw-r--r--npc/020-4/baktar.txt8
-rw-r--r--npc/functions/clientversion.txt12
3 files changed, 17 insertions, 5 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index cd85724f5..c4654f319 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -9124,7 +9124,7 @@ item_db: (
Name: "Desert Hat"
Type: "IT_ARMOR"
Buy: 1600
- Sell: 300
+ Sell: 600
Weight: 22
Def: 6
Slots: 1
diff --git a/npc/020-4/baktar.txt b/npc/020-4/baktar.txt
index c92aec45a..1d9762545 100644
--- a/npc/020-4/baktar.txt
+++ b/npc/020-4/baktar.txt
@@ -89,18 +89,18 @@ L_Collector:
close;
}
- // Gives 2.5× more
+ // Gives 4.5× more
.@sp=getiteminfo(.@id, ITEMINFO_SELLPRICE);
mesc l("Really give your @@ to Baktar?", getitemlink(.@id)), 1;
mesc l("The item will be lost forever.");
next;
if (askyesno() == ASK_YES) {
delitem .@id, 1;
- Zeny+=(.@sp*25/10);
+ Zeny+=(.@sp*45/10);
getexp BaseLevel*.@sp, .@sp;
setq2 NivalisQuest_Baktar, .@q2|.@m;
mesn;
- if (rand(1,5) == 4) mesc l("*cough cough*");
+ if (rand2(1,5) == 4) mesc l("*cough cough*");
mesq l("Thanks.");
}
@@ -164,7 +164,7 @@ OnInit:
.TULIMITEM = htnew;
htput(.TULIMITEM, str(DesertHat), 1);
htput(.TULIMITEM, str(SerfHat), 2);
- htput(.TULIMITEM, str(Dagger), 4);
+ //htput(.TULIMITEM, str(Dagger), 4);
end;
}
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 1ba227756..dd7584e8a 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -705,6 +705,18 @@ function script clientupdater {
// TODO: Use @super debug functions and force player to join a guild. We will need the guild ID, though.
rodex_sendmail(getcharid(0), "TMW2 Team", "Welcome to Moubootaur Legends", "Hey, thanks for believing on us! We hope to have a great time togheter. Any problem, ask for help in #world - the Discord bridge! Enjoy our game!", 20);
}
+ // Baktar changes
+ // seg out 21 19:32:55 -03 2019
+ if (UPDATE < 1571697175) {
+ UPDATE=1571697175;
+ .@q2=getq2(NivalisQuest_Baktar);
+ if (.@q2 & 4)
+ setq2 NivalisQuest_Baktar, .@q2^4;
+ if (.@q2 & 2)
+ Zeny+=1000;
+ if (.@q2 & 1)
+ Zeny+=1350;
+ }
if (.@dg) {