Jump to content
  • 0

- Custom Skill Effects


xRaisen

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   8
  • Joined:  03/10/12
  • Last Seen:  

Hello,

Done creating a new custom skills. Now Im having a problem implementing the custom skill special effects. I duped the "First Aid" skill all the way. But the dupe custom skill seems not firing up the skill special effects. Is there any other way to make the special effects works?

Thank you in advance!

Edited by xRaisen
Link to comment
Share on other sites

14 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

try adding this line to your skill code there ?

not sure does this really help or not...

clif_specialeffect( <DataNamae>,<Effect Numbe,AREA);

anyway..

i think providing a list of code you have made would be better...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   8
  • Joined:  03/10/12
  • Last Seen:  

I was about to post a reply that I got it. Yeah that's the right code Emistry. I can use combination like this, too!

clif_specialeffect(&sd->bl,8,AREA);
clif_specialeffect(&sd->bl,9,AREA);

I have a one last problem, its out of topic so I have to make one.

I have a one last problem, its out of topic so I have to make one if I can't solved it in a day.

Thanks for the reply though, Sir. Its highly appreciated.

Edited by xRaisen
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

Hi. I duplicate Power Swing skill, but i dont know what number is the special effect of it.. i already look in updated effect list its not there..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

ohh.. thanks .. but where is the power swing effect? i cant find it in the effect list that you gave..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

clif_skill_damage(src,bl, tick, status->amotion, status->dmotion, 1, 1, skillnum, skilllv, 5);

change the values accordingly

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

 case NC_POWERSWING2:
skillratio += 80 + 20 * skill_lv + sstatus->str + sstatus->dex;
RE_LVL_DMOD(100);
break;

do i need to put that code here? this the from battle.c. . what i should i put then? sorry im still new about that, i dont know what should i change in your given code..

also another question, i know this is offtopic..

how can i make my powerswing fix damage to 15m? thanks for the help..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

where should i put it?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

help! :3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

Index: battle.c
===================================================================
--- battle.c (revision 16806)
+++ battle.c (working copy)
@@ -3298,6 +3298,8 @@
  struct Damage md = battle_calc_magic_attack(src, target, skill_num, skill_lv, wflag);
  wd.damage += md.damage;
 }
+ if(skill_num == NC_POWERSWING2)
+  wd.damage = 15000000;

 return wd;
}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

Index: battle.c
===================================================================
--- battle.c (revision 16806)
+++ battle.c (working copy)
@@ -3298,6 +3298,8 @@
  struct Damage md = battle_calc_magic_attack(src, target, skill_num, skill_lv, wflag);
  wd.damage += md.damage;
 }
+ if(skill_num == NC_POWERSWING2)
+  wd.damage = 15000000;

 return wd;
}

Thanks! How about the skill effect?

where should i put this and also can you edit the values..

clif_skill_damage(src,bl, tick, status->amotion, status->dmotion, 1, 1, skillnum, skilllv, 5);

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

Index: skill.c
===================================================================

case KO_SETSUDAN:
case KO_KAIHOU:
skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
break;
+
+case NC_POWERSWING2:
+skill_attack(BF_WEAPON,src,src,bl,NC_POWERSWING,skilllv,tick,flag);
+break;

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

Thank you so much! /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

Index: skill.c
===================================================================

case KO_SETSUDAN:
case KO_KAIHOU:
skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
break;
+
+case NC_POWERSWING2:
+skill_attack(BF_WEAPON,src,src,bl,NC_POWERSWING,skilllv,tick,flag);
+break;

The Custom skill works fine but when i put this code.. it doesn't work anymore.. it uses the original powerswing.. not the fix one.. :3

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