summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-18 04:44:08 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-18 04:44:08 -0300
commite6f65a8c6c2003c52bcc402b81c0e473210c20f5 (patch)
treea69f4680b7c60d7f7c96ec5f15e174db8082bceb
parent12a0fea7f0aea9cebe4a88ef5e97b00ea28db18c (diff)
downloadserverdata-e6f65a8c6c2003c52bcc402b81c0e473210c20f5.tar.gz
serverdata-e6f65a8c6c2003c52bcc402b81c0e473210c20f5.tar.bz2
serverdata-e6f65a8c6c2003c52bcc402b81c0e473210c20f5.tar.xz
serverdata-e6f65a8c6c2003c52bcc402b81c0e473210c20f5.zip
Add EVOL_CRAFTING as defined in evol-all#103
-rw-r--r--db/re/skill_db.conf9
-rw-r--r--db/re/skill_tree.conf5
-rw-r--r--npc/functions/crafting.txt2
3 files changed, 15 insertions, 1 deletions
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf
index 30cc7466..5a98f4cc 100644
--- a/db/re/skill_db.conf
+++ b/db/re/skill_db.conf
@@ -38652,4 +38652,13 @@ skill_db: (
}
CoolDown: 3000
},
+{
+ Id: 20004
+ Name: "EVOL_CRAFTING"
+ Description: "Crafting"
+ MaxLevel: 5
+ SkillType: {
+ Passive: true
+ }
+},
)
diff --git a/db/re/skill_tree.conf b/db/re/skill_tree.conf
index 20a4dd64..95fc3daa 100644
--- a/db/re/skill_tree.conf
+++ b/db/re/skill_tree.conf
@@ -27,6 +27,7 @@ Job_Name: { // Job names as in src/map/pc.c (they are hardcoded at the moment so
Viro: {
skills: {
+ EVOL_CRAFTING: 0
SM_SWORD: 0
SM_TWOHAND: 0
AC_OWL: 0
@@ -91,6 +92,7 @@ Viro: {
CaveUkar: {
skills: {
+ EVOL_CRAFTING: 0
SM_SWORD: 0
SM_TWOHAND: 0
AC_OWL: 0
@@ -155,6 +157,7 @@ CaveUkar: {
FireKralog: {
skills: {
+ EVOL_CRAFTING: 0
SM_SWORD: 0
SM_TWOHAND: 0
AC_OWL: 0
@@ -219,6 +222,7 @@ FireKralog: {
LightRaijin: {
skills: {
+ EVOL_CRAFTING: 0
SM_SWORD: 0
SM_TWOHAND: 0
AC_OWL: 0
@@ -283,6 +287,7 @@ LightRaijin: {
SeaTritan: {
skills: {
+ EVOL_CRAFTING: 0
SM_SWORD: 0
SM_TWOHAND: 0
AC_OWL: 0
diff --git a/npc/functions/crafting.txt b/npc/functions/crafting.txt
index 3d99d72d..796141a1 100644
--- a/npc/functions/crafting.txt
+++ b/npc/functions/crafting.txt
@@ -44,7 +44,7 @@ function script SmithSystem {
// This is where we add options we don't want this now
// The functions are not ready yet
/*
- if (getskilllv(TMW2_CRAFT)) {
+ if (getskilllv(EVOL_CRAFTING)) {
delinventorylist(); // Needed, because we'll rely on rfind()
getinventorylist();
.@index=array_rfind(@inventorylist_id, .@it);