Jump to content
  • 0

CUSTOM Skill code!


Tio Akima

Question


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  191
  • Reputation:   138
  • Joined:  09/24/12
  • Last Seen:  

hello

 

My doubt is about skill

 

I would like to make an effect on a skill and I need help.

 

when the player activate the skill, it would grant a +10 AGI (while the skill is on, an EFFECT would be activated)

 

 

 

when I turn off the skill, you lose the points of AGI and the EFFECT shut down.

 

(Note: while the skill is enabled you lose SP)

 

could help me ?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

skill to buff?

u can make new SC or use existing SC, make the skill is no-damage skill, put the skill ID in skill_castend_nomdamage_id. give add_sc(urskill,SC);

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  191
  • Reputation:   138
  • Joined:  09/24/12
  • Last Seen:  

skill to buff?

u can make new SC or use existing SC, make the skill is no-damage skill, put the skill ID in skill_castend_nomdamage_id. give add_sc(urskill,SC);

 

 

hi Cydh!

 

thank you for your attention
 
I managed to edit an existing skill to get on and off the effect state.
 
But I came across another problem:
 
disconnecting the visual effect!
take a look:
 
 
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

/heh I'm too noob to understand client's effect /heh

hmm there are some ways related with skill & effects (don't ask me how this work on client side)

- some skills with buff/debuff (SC) may has OPTION_, OPT1_, OPT2_, OPT3_ value, the effect always active until src ask it to end it (either by timer timed out or manually ended). Like Berserk (Lord Knight). (clif_changeoption)

- a quick effect when skill is used, such bell & feathers effect of Angelus (Acolyte), (clif_skill_damage, clif_skill_nodamage)

- and also unit/ground effects, like Venom Dust (Assassin), (clif_skill_poseffect, skill_unit_db.txt)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  191
  • Reputation:   138
  • Joined:  09/24/12
  • Last Seen:  

/heh I'm too noob to understand client's effect /heh

hmm there are some ways related with skill & effects (don't ask me how this work on client side)

- some skills with buff/debuff (SC) may has OPTION_, OPT1_, OPT2_, OPT3_ value, the effect always active until src ask it to end it (either by timer timed out or manually ended). Like Berserk (Lord Knight). (clif_changeoption)

- a quick effect when skill is used, such bell & feathers effect of Angelus (Acolyte), (clif_skill_damage, clif_skill_nodamage)

- and also unit/ground effects, like Venom Dust (Assassin), (clif_skill_poseffect, skill_unit_db.txt)

 

 

Cydh 

 

very thank you for add more knowledge to my question.

 
I am having several discussions related to this question and you gave me a very important information on the "clif_changeoption"
 
I will do some testing and guide me through the Berserk skill, because it follows the pattern I'm looking for.
 
I go edit here to tell if it worked.
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

Cydh 

 

very thank you for add more knowledge to my question.

 

I am having several discussions related to this question and you gave me a very important information on the "clif_changeoption"

 

I will do some testing and guide me through the Berserk skill, because it follows the pattern I'm looking for.

 

I go edit here to tell if it worked.

yes gratefully please tell me/us if you figure it out. /ok
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

/heh I'm too noob to understand client's effect /heh

hmm there are some ways related with skill & effects (don't ask me how this work on client side)

- some skills with buff/debuff (SC) may has OPTION_, OPT1_, OPT2_, OPT3_ value, the effect always active until src ask it to end it (either by timer timed out or manually ended). Like Berserk (Lord Knight). (clif_changeoption)

- a quick effect when skill is used, such bell & feathers effect of Angelus (Acolyte), (clif_skill_damage, clif_skill_nodamage)

- and also unit/ground effects, like Venom Dust (Assassin), (clif_skill_poseffect, skill_unit_db.txt)

how about putting skill on custom icon skill example  like Parry skill put on Shield Parry skill. 

thanks more power

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