Jump to content
  • 0

Custom Starting Skills


Question

Posted

ok guys i just wanted to know how i could do this, I want to make some custom starter skills but i am not sure on how to go about doing so, I know i have asked for alot of request and stuff and i have been helped alot but my problem is i have so many ideas that i would love to use, and to be honest i hate asking for help but i dont know how to make them lol, I am not against learning something i would actually perfer it but when i try to look at the codes to see how they work i get super overwhelmed and get frustrated lol.  So i have this idea to add to my server some custom starter skills heres what i was wanting to do:

Every class starts out with  a +30 Group Buff
but it only works with pve, does not work with PVP 
when you get 500 pvps, you get the same buff but it will work with pvp as well

 

like i was saying i would love to learn how to code my self, so if some one could point me in the right direction that would be great,  It looks complicated not sure is these codes are writen by hand or using a program it just seems like some codes are extremely long and would take forever....

 

So there is my idea for my buffs any help would be highly appreciated

 

Thanks Alot again guys :D :D

2 answers to this question

Recommended Posts

  • 0
Posted

in CharacterCreate u will need to add skill. I think that +30 buff level 1 will be addSkill(skillId, 3001);

I dont know how it is in your pack, but for Heal Skills i have got Class named "Heal". Inside it checkCondition method. So we just need to add if(activeChar.isPlayer() && getId() == yourSkillId && ((L2PcInstance)activeChar).getPvPPoints < 500 && ((L2PcInstance)activeChar).getPvPFlag>0)

{

activeChar.sendMessage("This skill can be used in PvP only if u have at least 500 pvp points!");

return false;

}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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