Jump to content

[Share]Custom skill: Steal Adena


Recommended Posts

hi

i didnt share since a week or something coz i didnt have any ideas,

today i wanna share with u new super extra custom skill that is stealing money :P

you are probably thinking atm lol he is noob, every1 will just use that skill and take all money from enemies but its not that simple!

 

When you are stealing money from some1, u are getting instantly slow, getting flaged, losing 2500 hp, 1000 mp. You can use that skill on not flagged players.

After u use that skill, u are getting about 2/20 enemies adena(if my counting isnt as bad as i think), you get that flag etc, and u run!, if u run successfully, you own the money, if this guy will kill you, he is getting his money back + 1/10 money from your inventory so thats a lot if u have got something.

 

Maybe my custom steal system isnt perfect but i would like to hear ideas how to improve it and i will code it even today, so if everything is clear just download it:

 

datapack: http://pastebin.com/eKK1wABy

core: http://pastebin.com/Du69Bq4T

 

I made new skill for that(didnt edit any other), so u need to change your client:

skillgrp:

10003	1	1	0	980	20	6	180.00000000	0	D	1078	icon.skill1325		0	0	0	a,none\0	2500	8	10	0	a,none\0

skillname-e:

10003	1	a,Steal Money\0	a,With that skill you are able to steal some money from you opponent.\0	a,none\0	a,none\0

 

if u want to add it to database:

http://pastebin.com/2jeTt1R7

just take that code, make new file like x.sql, paste there this code, run database, right click in empty space near tables, click Execute SQL file, choose place where u saved x.sql and click start, i didnt have any errors, ppl are getting now skill at 80 lvl

 

Tested: yes, i was getting some errors but i think it wasnt about that coz i have  tons of unfinished codes that give me errors so i w8 for your feedback

Credits: Vampir(me ofc)

 

cya and i am w8ing for next ideas or i wont have anything to do for next week

 

 

Link to comment
Share on other sites

thanks alot

can you put a tut about how to make every player get the skill without admin giving him

Hes is giving the sql trees...Copy it from pastebin...

 

Also that dont need any java code??

Link to comment
Share on other sites

There are 3 links, 1 for datapack, 1 for core(java) and 1 for sql

 

You need to be close to use that skill so archer and necro will have to come close to use it.

Link to comment
Share on other sites

in my sql code i gave, change classes id to first, like fighter mage, and learning lvl to 1, also make skill auto learnable

Link to comment
Share on other sites

veryy Niceeeeeeee

Possible change to another item? example a new currency?

or only works with adena?

jup

then wherever is wrote .getAdena(), change that to getItemByItemId(itemId) - itemId = id of item u want it to take :), it should work however i didnt test it, give me feedback :)

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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