summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c12
-rw-r--r--src/map/skill.h58
2 files changed, 68 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index af47b0a87..136a4dfd5 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -782,8 +782,18 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int
status_change_end(bl, SC_SPEEDUP0, -1);
if (tsc->data[SC_SPEEDUP1] && !tsc->data[SC_SPEEDUP1]->val4)
status_change_end(bl, SC_SPEEDUP1, -1);
- if (tsc->data[SC_SPIRIT])
+ // Stalkers who are preserved will no longer lose their link.
+ if (tsc->data[SC_SPIRIT] && !(dstsd->class_&MAPID_STALKER && tsc->data[SC_SPIRIT] && tsc->data[SC_PRESERVE]))
status_change_end(bl, SC_SPIRIT, -1);
+ // Updated by Brainstorm to remove 'Ka' status effects and Link granted skills.
+ if (tsc->data[SC_KAIZEL])
+ status_change_end(bl, SC_KAIZEL, -1);
+ if (tsc->data[SC_KAAHI])
+ status_change_end(bl, SC_KAAHI, -1);
+ if (tsc->data[SC_KAUPE])
+ status_change_end(bl, SC_KAUPE, -1);
+ if (tsc->data[SC_KAITE])
+ status_change_end(bl, SC_KAITE, -1);
if (tsc->data[SC_ONEHAND])
status_change_end(bl, SC_ONEHAND, -1);
if (tsc->data[SC_ADRENALINE2])
diff --git a/src/map/skill.h b/src/map/skill.h
index 2509fdf25..5b583406d 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -955,7 +955,24 @@ enum e_skill {
NPC_WIDESOULDRAIN,
ALL_INCCARRY = 681,
-
+ /*
+ NPC_TALK = 682,
+ NPC_HELLPOWER,
+ NPC_WIDEHELLDIGNITY,
+ NPC_INVINCIBLE,
+ NPC_INVINCIBLEOFF,
+ NPC_ALLHEAL,
+
+ GM_SANDMAN = 688,
+ CASH_BLESSING,
+ CASH_INCAGI,
+ CASH_ASSUMPTIO,
+
+ ALL_CATCRY = 692,
+ ALL_PARTYFLEE,
+ ALL_ANGEL_PROTECT,
+ ALL_SUMMERNIGHTDREAM,
+ */
KN_CHARGEATK = 1001,
CR_SHRINK,
AS_SONICACCEL,
@@ -992,6 +1009,45 @@ enum e_skill {
HVAN_CHAOTIC,
HVAN_INSTRUCT,
HVAN_EXPLOSION,
+ /*
+ MS_BASH = 8201,
+ MS_MAGNUM,
+ MS_BOWLINGBASH,
+ MS_PARRYING,
+ MS_REFLECTSHIELD,
+ MS_BERSERK,
+ MA_DOUBLE,
+ MA_SHOWER,
+ MA_SKIDTRAP,
+ MA_LANDMINE,
+ MA_SANDMAN,
+ MA_FREEZINGTRAP,
+ MA_REMOVETRAP,
+ MA_CHARGEARROW,
+ MA_SHARPSHOOTING,
+ ML_PIERCE,
+ ML_BRANDISH,
+ ML_SPIRALPIERCE,
+ ML_DEFENDER,
+ ML_AUTOGUARD,
+ ML_DEVOTION,
+ MER_MAGNIFICAT,
+ MER_QUICKEN,
+ MER_SIGHT,
+ MER_CRASH,
+ MER_REGAIN,
+ MER_TENDER,
+ MER_BENEDICTION,
+ MER_RECUPERATE,
+ MER_MENTALCURE,
+ MER_COMPRESS,
+ MER_PROVOKE,
+ MER_AUTOBERSERK,
+ MER_DECAGI,
+ MER_SCAPEGOAT,
+ MER_LEXDIVINA,
+ MER_ESTIMATION,
+ */
};
enum {