Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db/pre-re/skill_cast_db.txt | 4 ++++
- db/pre-re/skill_db.txt | 5 ++++-
- db/pre-re/skill_require_db.txt | 5 ++++-
- db/pre-re/skill_tree.conf | 2 ++
- src/map/skill.c | 2 ++
- src/map/skill.h | 4 ++++
- src/map/status.c | 6 ++++++
- 7 files changed, 26 insertions(+), 2 deletions(-)
- diff --git a/db/pre-re/skill_cast_db.txt b/db/pre-re/skill_cast_db.txt
- index 181ce83..9127bcb 100644
- --- a/db/pre-re/skill_cast_db.txt
- +++ b/db/pre-re/skill_cast_db.txt
- @@ -1944,3 +1944,7 @@
- 2826,0,0,0,40000:55000:70000:85000:100000,0,0
- //-- SI_RECALL
- 2827,1000,0,0,0,0,0
- +//-- SL_JEDI
- +2828,1000,500,0,150000:200000:250000:300000:350000,0,0
- +//-- SL_SITH
- +2829,1000,500,0,150000:200000:250000:300000:350000,0,0
- \ No newline at end of file
- diff --git a/db/pre-re/skill_db.txt b/db/pre-re/skill_db.txt
- index 1cf19d5..2285df5 100644
- --- a/db/pre-re/skill_db.txt
- +++ b/db/pre-re/skill_db.txt
- @@ -1290,4 +1290,7 @@
- 2824,9,0,2,6,0,0,5,20,yes,0,0,0,none,0, SI_STO, Force_Storm
- 2825,0,0,4,0,0,0,5,0,no,0,0,0,none,0, SI_COLDSKIN, Cold_Skin
- 2826,0,0,4,0,0,0,5,0,no,0,0,0,none,0, SI_SABERTHRUST, Saber Thrust
- -2827,9,6,1,0,0x1,0,5,0,no,0,0,0,none,0, SI_RECALL, Force Drain
- \ No newline at end of file
- +2827,9,6,1,0,0x1,0,5,0,no,0,0,0,none,0, SI_RECALL, Force Drain
- +
- +2828,9,6,16,0,0x1,0,5,1,yes,0,0x200,0,magic,0, SL_JEDI,Spirit of the Jedi
- +2829,9,6,16,0,0x1,0,5,1,yes,0,0x200,0,magic,0, SL_SITH,Spirit of the Sith
- \ No newline at end of file
- diff --git a/db/pre-re/skill_require_db.txt b/db/pre-re/skill_require_db.txt
- index 5b70532..4097a7f 100644
- --- a/db/pre-re/skill_require_db.txt
- +++ b/db/pre-re/skill_require_db.txt
- @@ -1047,4 +1047,7 @@
- 2824,0,0,115:130:145:160:175,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SI_STO#Force_Storm#
- 2825,0,0,100,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SI_COLDSKIN#Cold_Skin#
- 2826,0,0,100,0,0,0,2,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SI_SABERTHRUST#Saber Thrust#
- -2827,0,0,50:75:100:125:150,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SI_RECALL#Force Drain#
- \ No newline at end of file
- +2827,0,0,50:75:100:125:150,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SI_RECALL#Force Drain#
- +
- +2828,0,0,460:360:260:160:60,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SL_JEDI
- +2829,0,0,460:360:260:160:60,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SL_SITH
- \ No newline at end of file
- diff --git a/db/pre-re/skill_tree.conf b/db/pre-re/skill_tree.conf
- index 3215068..2aae6fb 100644
- --- a/db/pre-re/skill_tree.conf
- +++ b/db/pre-re/skill_tree.conf
- @@ -2143,6 +2143,8 @@ Soul_Linker: {
- inherit: ( "Taekwon" );
- skills: {
- + SL_JEDI: 5
- + SL_SITH: 5
- SL_ALCHEMIST: 5
- SL_MONK: 5
- SL_STAR: 5
- diff --git a/src/map/skill.c b/src/map/skill.c
- index ca89ac2..00e096d 100644
- --- a/src/map/skill.c
- +++ b/src/map/skill.c
- @@ -8077,6 +8077,8 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
- case SL_STAR:
- case SL_SUPERNOVICE:
- case SL_WIZARD:
- + case SL_JEDI:
- + case SL_SITH:
- //NOTE: here, 'type' has the value of the associated MAPID, not of the SC_SOULLINK constant.
- if (sd && !(dstsd && (dstsd->class_&MAPID_UPPERMASK) == type)) {
- clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
- diff --git a/src/map/skill.h b/src/map/skill.h
- index 5abd55d..116f345 100644
- --- a/src/map/skill.h
- +++ b/src/map/skill.h
- @@ -1355,6 +1355,10 @@ enum e_skill {
- SI_COLDSKIN,
- SI_SABERTHRUST,
- SI_RECALL,
- +
- + // New Link
- + SL_JEDI,
- + SL_SITH,
- KO_YAMIKUMO = 3001,
- KO_RIGHT,
- diff --git a/src/map/status.c b/src/map/status.c
- index 52d9715..330dae7 100644
- --- a/src/map/status.c
- +++ b/src/map/status.c
- @@ -803,6 +803,8 @@ void initChangeTables(void) {
- status->dbs->Skill2SCTable[SL_BLACKSMITH] = (sc_type)MAPID_BLACKSMITH,
- status->dbs->Skill2SCTable[SL_HUNTER] = (sc_type)MAPID_HUNTER,
- status->dbs->Skill2SCTable[SL_SOULLINKER] = (sc_type)MAPID_SOUL_LINKER,
- + status->dbs->Skill2SCTable[SL_JEDI] = (sc_type)MAPID_JEDI,
- + status->dbs->Skill2SCTable[SL_SITH] = (sc_type)MAPID_SITH,
- // Status that don't have a skill associated.
- status->dbs->IconChangeTable[SC_WEIGHTOVER50] = SI_WEIGHTOVER50;
- @@ -4609,6 +4611,10 @@ unsigned short status_calc_vit(struct block_list *bl, struct status_change *sc,
- vit += status->get_status_data(bl)->int_ / 5;
- if ( sc->data[SC_JE_SACRI] )
- vit -= vit;
- + if (sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_JEDI)
- + vit += 35;
- + if (sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_SITH)
- + vit += 35;
- return (unsigned short)cap_value(vit,0,USHRT_MAX);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement