Jump to content
×
×
  • Create New...
  • 0

New skill damage problem


PiK90

Question

#SOLVED

 

I had to move the syntax i highlited in the screenshot to the bottom of the function, after another function was calculated. 

 

Hi everybody! I am stucked on an important stage of my project. I need to add one more skill, 7th. I modified the client, it shows in slot, i can train it, the skilled is displayed correctly and i can even send the packet usage for it. I added the motion checks in server too.
So it works perfectly, i am not kicked for "potential SKILL_HACK". Excepting that the skill doesn't do any kind of damage. It is not logged in chat as it'd have done damage, it does not appear in logs. Also, the affect is not displayed on the target.
 


OOTa53t.png

200	SMITE	1	1	1	0	HP	-(lv*2+(atk + str*3 + dex*18)*k)	40+130*k			200	-(lv*2+(atk + str*3 + dex*18)*k)		ATTACK,USE_MAGIC_DAMAGE	SMITE	NONE	60*k	5+25*k					40+130*k	0	0	MAGIC	0	1	1000	200

(copy it in notepad)

Did anybody added a new skill or created a new one, so i can get some help? I also think it is not the skill files the problem (.mse) as i tried some effects, and i also tried a skill that is already present in client.

 

I am sorry for my english. If you can't understand, just reply and i will try to be more precise.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

#SOLVED

I had to move the syntax i highlited in the screenshot to the bottom of the function, after another function was calculated.

I'm happy that you found a solution :)

can you make a tutorial for adding 7/8th or more skills?

  • Love 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.