Skip to content

Commit 0efa937

Browse files
committed
== NDGProtection ==
*Fixed an issue where homunculus, elementals and mercenaries would cause a DC if they use a skill. -Disabled protection for all skills that are not used by a player.
1 parent c4fc951 commit 0efa937

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NDGProtection_3ceam_r810(2f91709)+[15peaces].patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ index 4f555fb..1b8ac20 100644
6767
struct {
6868
int nameid;
6969
diff --git a/rewrite/src/map/skill.c b/rewrite/src/map/skill.c
70-
index c102c51..086e40b 100644
70+
index c102c51..2c9c659 100644
7171
--- a/rewrite/src/map/skill.c
7272
+++ b/rewrite/src/map/skill.c
7373
@@ -14483,6 +14483,9 @@ int skill_castfix (struct block_list *bl, int skill_id, int skill_lv)
@@ -84,7 +84,7 @@ index c102c51..086e40b 100644
8484
if (time < status_get_amotion(bl))
8585
time = status_get_amotion(bl); // Delay can never be below amotion [Playtester]
8686

87-
+ if(battle_config.nodelay_protect)
87+
+ if(battle_config.nodelay_protect && skill_id < HLIF_HEAL && skill_id > EL_STONE_RAIN)
8888
+ if (sd->state.skill_check_double){
8989
+ time = skill_delay_penalty(skill_id);
9090
+ sd->state.skill_check_double = 0 ;

0 commit comments

Comments
 (0)