diff options
-rw-r--r-- | db/pre-re/skill_db.conf | 2 | ||||
-rw-r--r-- | npc/magic/level1-flare-dart.txt | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/db/pre-re/skill_db.conf b/db/pre-re/skill_db.conf index 429787d9..196974f7 100644 --- a/db/pre-re/skill_db.conf +++ b/db/pre-re/skill_db.conf @@ -38617,7 +38617,7 @@ skill_db: ( Requirements: { SPCost: 10 Items: { - SulphurPowder: 1 + SulphurPowder: 0 } } }, diff --git a/npc/magic/level1-flare-dart.txt b/npc/magic/level1-flare-dart.txt index ec1d8134..c8f0f7e3 100644 --- a/npc/magic/level1-flare-dart.txt +++ b/npc/magic/level1-flare-dart.txt @@ -5,7 +5,13 @@ // School: War 1 function script SK_Flar { - .@PW=70+(10*@skillLv); + // Charge code, item check is in skill_db.conf + if (!@MCHARGE_FLARE) { + delitem SulphurPowder, 1; + @MCHARGE_FLARE = 2+getskilllv(SKILL_MAGIC_WAR); + } + // Effective magic code + .@PW=70+(5*@skillLv); .@dmg=AdjustSpellpower(.@PW); harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Fire); GetManaExp(@skillId, 1); |