summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/pre-re/skill_db.conf5
-rw-r--r--npc/001-1/children.txt11
-rw-r--r--npc/functions/main.txt6
3 files changed, 16 insertions, 6 deletions
diff --git a/db/pre-re/skill_db.conf b/db/pre-re/skill_db.conf
index 943cc45b..aeca42bf 100644
--- a/db/pre-re/skill_db.conf
+++ b/db/pre-re/skill_db.conf
@@ -38415,6 +38415,9 @@ skill_db: (
CoolDown: 5000
Requirements: {
SPCost: 14
+ Items: {
+ HardSpike: 1
+ }
}
},
{
@@ -38564,7 +38567,7 @@ skill_db: (
}
CoolDown: 1000
Requirements: {
- SPCost: 0 // FIXME?
+ SPCost: 3
}
},
// TODO: Bind magic scripts
diff --git a/npc/001-1/children.txt b/npc/001-1/children.txt
index 0cbba1f8..dd7f7668 100644
--- a/npc/001-1/children.txt
+++ b/npc/001-1/children.txt
@@ -69,14 +69,15 @@ L_tell:
"Goodbye!", L_close;
L_keepword:
- mes "[Aisha]";
- mes "\"No.\"";
+ mesn;
+ mesq l("No.");
goto L_close;
L_Giveword:
- mes "[Aisha]";
- mes "Aisha looks around as she leans in and hushes you to silence. After a few seconds, she whispers to you:";
- mes "\"I like you, so I'll tell you the bad word. But you can't tell anyone else about it! The bad word is '" + get(.invocation$, "spell-aggravate") + ".'\"";
+ mesn;
+ mes l("Aisha looks around as she leans in and hushes you to silence. After a few seconds, she whispers to you:");
+ mesq l("I like you, so I'll tell you the bad word. But you can't tell anyone else about it! The bad word is %s.'", b("itenplz"));
+ learnskill EVOL_AREA_PROVOKE, 1;
next;
mes "[Aisha]";
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 930e5283..1bc4c37b 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -624,3 +624,9 @@ function script updateskill {
return;
}
+function script learnskill {
+ if (getskilllv(getarg(0)) < getarg(1))
+ skill getarg(0), getarg(1), 0;
+ return;
+}
+