Jump to content
  • 0

soul link modification


jonmich21

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  05/05/12
  • Last Seen:  

I want to modify effects for soul link for various jobs. here are the list.

 

 

 

 

1.Star Gladiator - Allowing to use Lvl 10 Lord of Vermillion, Lvl 10 Parrying. Increase damage on Boss monster and Holy monster by 100%. perfect dodge + 10

 

2,Sage - The Sage's HP will also increase by BaseLvl*200 HP and his/her Vit will increase by Int/5 (For example, 255 Int will give you an additional bonus of 255/5 = 51 Vit.

 

3.Wizard - The Wizard's HP will also Increase by BaseLvl*200 HP and his/her Vit will increase by Int/5(For example, 255 Int will give you an additional bonus of 255/5 = 51 Vit. Increase Magic Crasher Damage + 150%.

 

4.Priest - Returns some damage dealt to you back to the enemy. Melee attacks only Reflected Damage 30% of received damage.

 

 

 

thank you in advance smile.png

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Got this one somewhere before. Just try;

Index: src/map/battle.c
===================================================================
--- src/map/battle.c    (revision 16822)
+++ src/map/battle.c    (working copy)
@@ -1222,6 +1222,10 @@
                damage += damage*sd->weapon_atk_rate[sd->weapontype1]/100;;
        }
    }
+    
+    if (flag&4 && sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_WIZARD)
+        damage += damage*150/100;
+    
    return damage;
}

@@ -1833,6 +1837,8 @@
                case AC_DOUBLE:
                case MA_DOUBLE:
                    skillratio += 10*(skill_lv-1);
+                    if (sd && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ROGUE)
+                        skillratio += 150;
                    break;
                case AC_SHOWER:
                case MA_SHOWER:
@@ -2044,6 +2050,8 @@
                    break;
                case PA_SHIELDCHAIN:
                    skillratio += 30*skill_lv;
+                    if (sd && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_HUNTER)
+                        skillratio += 200;
                    break;
                case WS_CARTTERMINATION:
                    i = 10 * (16 - skill_lv);
@@ -3016,6 +3024,7 @@
                    if( tstatus->race != RC_DEMIHUMAN )
                        cardfix=cardfix*(100+sd->right_weapon.addrace[RC_NONDEMIHUMAN])/100;

+                        
                    if( flag.lh )
                    {
                        cardfix_=cardfix_*(100+sd->left_weapon.addrace[tstatus->race])/100;
Index: src/map/skill.c
===================================================================
--- src/map/skill.c    (revision 16822)
+++ src/map/skill.c    (working copy)
@@ -6075,9 +6075,17 @@
            location = EQP_ACC;
            break;
        }
-
+        
+        if (sd && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ROGUE) {
+            if (pc_search_inventory(sd, 7139) == -1) {
+                clif_skill_fail(sd,skillid,USESKILL_FAIL_NEED_ITEM,0);
+                break;
+            } else {
+                pc_delitem(sd, 7139, 1, 0, 1, LOG_TYPE_CONSUME);
+            }
+        } else
        //Special message when trying to use strip on FCP [Jobbie]
-        if( sd && skillid == ST_FULLSTRIP && tsc && tsc->data[SC_CP_WEAPON] && tsc->data[SC_CP_HELM] && tsc->data[SC_CP_ARMOR] && tsc->data[SC_CP_SHIELD])
+        if( sd && skillid == ST_FULLSTRIP && tsc && tsc->data[SC_CP_WEAPON] && tsc->data[SC_CP_HELM] && tsc->data[SC_CP_ARMOR] && tsc->data[SC_CP_SHIELD] )
        {
            clif_gospel_info(sd, 0x28);
            break;
Index: src/map/status.c
===================================================================
--- src/map/status.c    (revision 16822)
+++ src/map/status.c    (working copy)
@@ -2985,6 +2985,7 @@
        sd->hprecov_rate = 0;
    if(sd->sprecov_rate < 0)
        sd->sprecov_rate = 0;
+        

    // Anti-element and anti-race
    if((skill=pc_checkskill(sd,CR_TRUST))>0)
@@ -3000,6 +3001,13 @@
        sd->magic_addrace[RC_DRAGON]+=skill;
        sd->subrace[RC_DRAGON]+=skill;
    }
+    
+    if(sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_STAR) {
+        sd->right_weapon.addrace[RC_BOSS] += 100;
+        sd->left_weapon.addrace[RC_BOSS] += 100;
+        sd->right_weapon.addele[ELE_HOLY] += 100;
+        sd->left_weapon.addele[ELE_HOLY] += 100;
+    }

    if(sc->count){
    if(sc->data[SC_CONCENTRATE]) { //Update the card-bonus data
@@ -4182,6 +4190,8 @@
        vit -= sc->data[SC_STOMACHACHE]->val1;
    if(sc->data[SC_KYOUGAKU])
        vit -= sc->data[SC_KYOUGAKU]->val2;
+    if(sc->data[SC_SPIRIT] && (sc->data[SC_SPIRIT]->val2 == SL_WIZARD || sc->data[SC_SPIRIT]->val2 == SL_SAGE))
+        vit += ((TBL_PC*)bl)->status.int_ / 5;

    return (unsigned short)cap_value(vit,0,USHRT_MAX);
}
@@ -4688,7 +4698,9 @@
        flee2 += sc->data[SC_WHISTLE]->val3*10;
    if(sc->data[SC__UNLUCKY])
        flee2 -= flee2 * sc->data[SC__UNLUCKY]->val2 / 100;
-
+    if(sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_STAR)
+        flee2 += 10;
+        
    return (short)cap_value(flee2,10,SHRT_MAX);
}
static defType status_calc_def(struct block_list *bl, struct status_change *sc, int def) {
@@ -5417,6 +5429,8 @@
        maxhp -= sc->data[SC_MYSTERIOUS_POWDER]->val1 / 100;
    if(sc->data[SC_EARTH_INSIGNIA] && sc->data[SC_EARTH_INSIGNIA]->val1 == 2)
        maxhp += 500;
+    if(sc->data[SC_SPIRIT] && (sc->data[SC_SPIRIT]->val2 == SL_WIZARD || sc->data[SC_SPIRIT]->val2 == SL_SAGE))
+        maxhp += ((TBL_PC*)bl)->status.base_level * 200;
    
    return cap_value(maxhp,1,UINT_MAX);
}
  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  05/05/12
  • Last Seen:  

update:

 

the lord of vermilion and parrying for star glad is not working .. 

 

and the priest soul link also.



bump!



bump!



anyone?



bump :(



bump 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  05/05/12
  • Last Seen:  

anyone??



bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  05/05/12
  • Last Seen:  

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   0
  • Joined:  05/28/12
  • Last Seen:  

up

i got error when i recompile 

 

Error 1 error C2065: 'maxhp' : undeclared identifier (..\src\map\status.c) c:\users\thyrone ü\desktop\svn\src\map\status.c 2488 1 map-server_sql
Error 2 error C2065: 'RC_BOSS' : undeclared identifier (..\src\map\status.c) c:\users\thyrone ü\desktop\svn\src\map\status.c 3412 1 map-server_sql
Error 3 error C2065: 'RC_BOSS' : undeclared identifier (..\src\map\status.c) c:\users\thyrone ü\desktop\svn\src\map\status.c 3413 1 map-server_sql

 

 

Edited by venomxxvii
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...