diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-14 14:02:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-14 14:02:52 -0300 |
commit | 695ea00674255d10bd6e357c7c5b8f353a069422 (patch) | |
tree | 8b39e07537dc8d5d91cb06064d02a3c2953bca3e | |
parent | 894d3f0fddcf154b090ccb9929324f6211a0ff81 (diff) | |
download | serverdata-695ea00674255d10bd6e357c7c5b8f353a069422.tar.gz serverdata-695ea00674255d10bd6e357c7c5b8f353a069422.tar.bz2 serverdata-695ea00674255d10bd6e357c7c5b8f353a069422.tar.xz serverdata-695ea00674255d10bd6e357c7c5b8f353a069422.zip |
Why fixing the skill not consuming items, when I can hack it instead? :thinking:
-rw-r--r-- | db/pre-re/skill_db.conf | 18 | ||||
-rw-r--r-- | npc/002-1/elanore.txt | 2 | ||||
-rw-r--r-- | npc/magic/level1-grow-plants.txt | 3 | ||||
-rw-r--r-- | npc/magic/level1-lesser-heal.txt | 3 |
4 files changed, 15 insertions, 11 deletions
diff --git a/db/pre-re/skill_db.conf b/db/pre-re/skill_db.conf index a88951d6..bbbe02b9 100644 --- a/db/pre-re/skill_db.conf +++ b/db/pre-re/skill_db.conf @@ -38682,8 +38682,8 @@ skill_db: ( Requirements: { SPCost: 4 Items: { - Root: 1 - AlizarinHerb: 1 + Root: 0 + AlizarinHerb: 0 } } }, @@ -38702,8 +38702,8 @@ skill_db: ( Requirements: { SPCost: 4 Items: { - Root: 1 - CobaltHerb: 1 + Root: 0 + CobaltHerb: 0 } } }, @@ -38722,8 +38722,8 @@ skill_db: ( Requirements: { SPCost: 4 Items: { - Root: 1 - GambogeHerb: 1 + Root: 0 + GambogeHerb: 0 } } }, @@ -38742,8 +38742,8 @@ skill_db: ( Requirements: { SPCost: 4 Items: { - Root: 1 - MauveHerb: 1 + Root: 0 + MauveHerb: 0 } } }, @@ -38779,7 +38779,7 @@ skill_db: ( Requirements: { SPCost: 6 Items: { - Lifestone: 1 + Lifestone: 0 } } }, diff --git a/npc/002-1/elanore.txt b/npc/002-1/elanore.txt index 11567fb5..2a400994 100644 --- a/npc/002-1/elanore.txt +++ b/npc/002-1/elanore.txt @@ -53,7 +53,7 @@ L_NoHealMessage: L_Chat: mesn l("Elanore the Healer"); - mes "\"Hello! Can I help you?\""; + mesq l("Hello! Can I help you?"); next; goto L_Main; diff --git a/npc/magic/level1-grow-plants.txt b/npc/magic/level1-grow-plants.txt index c3a1a102..c3b21bad 100644 --- a/npc/magic/level1-grow-plants.txt +++ b/npc/magic/level1-grow-plants.txt @@ -16,6 +16,9 @@ function script SK_GrowPlants { case SKILL_MODRILAX: .@it = MauveHerb; .@mobId = MauvePlant; break; } + // Consume reagents + delitem Root, 1; + delitem .@it, 1; // Continue but with a special flag SK_summon(.@mobId, 2, 1, false); return; diff --git a/npc/magic/level1-lesser-heal.txt b/npc/magic/level1-lesser-heal.txt index 0f6c9f74..d7de0185 100644 --- a/npc/magic/level1-lesser-heal.txt +++ b/npc/magic/level1-lesser-heal.txt @@ -36,8 +36,9 @@ function script SK_Lum { getunitdata(@skillTarget, UDT_HP); } - // No need for healing? + // No need for healing? Otherwise, take reagent if (.@limit <= 0) return; + delitem Lifestone, 1; // Real healing happens here .@PW=90+(10*@skillLv); |