From 74684a3bb6b3794e46f979e1fbce56db46ad27f7 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Wed, 8 Nov 2023 02:48:47 +0000 Subject: SC_MATKPOT --- world/map/npc/099-5/boss.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'world/map/npc/099-5/boss.txt') diff --git a/world/map/npc/099-5/boss.txt b/world/map/npc/099-5/boss.txt index de61bdf0..1ab584fd 100644 --- a/world/map/npc/099-5/boss.txt +++ b/world/map/npc/099-5/boss.txt @@ -260,7 +260,7 @@ OnFourthFall: //debugmes "FOURTH FALL"; // High Damage - if (sc_check(sc_raiseattackspeed0)) + if (sc_check(SC_SPEEDPOTION0)) goto OnFF01Y; goto OnFF01N; @@ -269,7 +269,7 @@ OnFF01Y: goto OnFF01N; OnFF01N: - if (sc_check(sc_raiseattackstrength)) + if (sc_check(SC_ATKPOT)) goto OnFF02Y; goto OnFF02N; @@ -307,7 +307,7 @@ OnFF05Y: goto OnFF05N; OnFF05N: - if (sc_check(sc_slowpoison)) + if (sc_check(SC_SLOWPOISON)) goto OnFF06Y; goto OnFF06N; @@ -326,7 +326,7 @@ OnMTBlissOblivion: misceffect 51, strcharinfo(0); misceffect 52, strcharinfo(0); // FIXME // Poison - sc_start sc_poison, 1, 80; + sc_start SC_POISON, 1, 80; // Adjust Map Mask if ($@DD5_DEFCON == 0) mapmask 1; @@ -1141,9 +1141,9 @@ L_DEFCON2: // DEFCON 3 - Potion Immunity L_DEFCON3: - if (sc_check(sc_raiseattackspeed0)) + if (sc_check(SC_SPEEDPOTION0)) set @dd5_dmg, 0; - if (sc_check(sc_raiseattackstrength)) + if (sc_check(SC_ATKPOT)) set @dd5_dmg, 0; goto L_Return; @@ -1213,7 +1213,7 @@ function|script|FinalExamAttack goto L_Return; // Assign attack speed delay - 300ms with pots, 600ms without - set @dd5_timer, if_then_else(sc_check(sc_raiseattackspeed0), gettimetick(0)+300, gettimetick(0)+600); + set @dd5_timer, if_then_else(sc_check(SC_SPEEDPOTION0), gettimetick(0)+300, gettimetick(0)+600); // Calculate HIT and CRIT rate set @dd5_crit, (rand(10000) < CRIT); @@ -1224,7 +1224,7 @@ function|script|FinalExamAttack set @dd5_dmg, ATK1+BASE_ATK; // Strength Potion - DMG +50% - if (sc_check(sc_raiseattackstrength)) + if (sc_check(SC_ATKPOT)) set @dd5_dmg, @dd5_dmg*15/10; // Boss defense -- cgit v1.2.3-70-g09d2