Jump to content
  • 0

CUSTOM Skill code!


Question

Posted
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 ?

6 answers to this question

Recommended Posts

Posted

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);

Posted

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:
 
 
Posted

/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)

Posted

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

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
Posted

/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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...