Jump to content
  • 0

Help with this soul link mods


Blazing Spear

Question


  • Group:  Members
  • Topic Count:  58
  • Topics Per Day:  0.01
  • Content Count:  208
  • Reputation:   1
  • Joined:  01/06/12
  • Last Seen:  

Im currently working with this modification Here

 

Im not expert enough for src coding i really need some help

 

Alchemist Soul link mods

 

- Acid Terror becomes a splash skill in an area of 4x4 around the target player or mob and does 100%+110%*SkillLV ATK.



case AM_ACIDTERROR:
if (!(flag&1) && sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_ALCHEMIST)
{ //Become a slash attack when Soul Linked.
map_foreachinrange(skill_area_sub, bl,
skill_get_splash(skill_id, skill_lv),splash_target(src),
src_skill_id,skill_lv,tick, flag|BCT_ENEMY|1,
skill_castend_damage_id);
} else
skill_attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag);
break;


for 100%+110%*SkillLV ATK



case AM_ACIDTERROR:
skillratio += 10*(skill_lv-1);
if (sd && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ALCHEMIST)
skillratio += 110;
break;


Enable to use parrying using one handed sword



skill.c
bool skill_check_condition_castend(struct map_session_data* sd, uint16 skill_id, uint16 skill_lv) {
struct skill_condition require;
struct status_data *status;
int i;
int index[MAX_SKILL_ITEM_REQUIRE];
+ struct status_change *sc = &sd->sc;




skill.c
if(require.weapon && !(pc_check_weapontype(sd,require.weapon) || (skill == LK_PARRYING && sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_KNIGHT && sd->status.weapon == W_1HSWORD)) ){
clif_skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
return false;
}




status.c
case SC_PARRYING:
+ if(sd && sd->status.weapon == W_1HSWORD)
+ val2 = val1 * 3;


Reducing all after cast delay of knight and lord knight skill when linked by 40%



if ( sc && sc->data[SC_SPIRIT] ) {
+ if(sc->data[SC_SPIRIT]->val2 == SL_KNIGHT)
+ time /= 10;

switch (skill_id) {

case CR_SHIELDBOOMERANG:

if (sc->data[sC_SPIRIT]->val2 == SL_CRUSADER)

time /= 2;

break;

case AS_SONICBLOW:

if (!map_flag_gvg3(bl->m) && sc->data[sC_SPIRIT]->val2 == SL_ASSASIN)

time /= 2;

break;

}



Correct the code if im wrong :)

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...