Pure Skill Ideas

04/28/2010 08:52 greasontim#1
Seeing how Dodge, Reflect and Counter-Kill don't work on
5165 anyone have any ideas on how i can edit them so they are of some use?
04/29/2010 21:14 ©Hyperlink#2
dodge is damage calculations for ranging.
then make the damage less for more dodge.
Reflect is just a skill, just make it return damage taken.
then make it check if damage is +2000.
Then it should just give 2000 in damage.
04/29/2010 21:50 greasontim#3
would be easier if i knew how to code lol
04/29/2010 21:59 ©Hyperlink#4
try the programming area, there is some tuts else you could search at google :)
04/29/2010 22:33 pro4never#5
Quote:
Originally Posted by greasontim View Post
Seeing how Dodge, Reflect and Counter-Kill don't work on
5165 anyone have any ideas on how i can edit them so they are of some use?


All of the above are very easy to code...

Simplest way for reflect for example is to add a check in your attack code to see if the attacked target has the skill. If so do a calculation to see if reflect goes off (so like 2-5 percent chance of activation?) and then return the damage (cap it or do w/e dmg calculation you want for it)

Counter kill is somewhat similar depending on how you code it but you need more things like cooldown time, if the skill is active or not, etc.


Dodge is same as stig really... just see if it's active when taking dmg from bows and if so reduce it by x percent.

Skills are really not that hard to code. Also I thought all of them already worked in 5165... try looking at an improved 5165 source.
04/30/2010 13:40 pintser#6
Little of Pro4Never:

Youre reflect code must contain little something like: (dont copy, the spelling is incorrect xd)

If MyChar has/Contains/Use SkillId .... And ChanceSuccess(60);
04/30/2010 16:11 pro4never#7
Quote:
Originally Posted by pintser View Post
Little of Pro4Never:

Youre reflect code must contain little something like: (dont copy, the spelling is incorrect xd)

If MyChar has/Contains/Use SkillId .... And ChanceSuccess(60);
Which is exactly what I said... Check that the character has the skill... do a percent success calculation, then do the damage return calculation...

It's all very simple stuff I just didn't go into any specifics because I don't use lotf at all. It's the same in any source really, just the wording will change.
04/30/2010 16:11 greasontim#8
anyone know a source that has every skill working for all classes
just trying to get a Private server for me and my friends to PK on cause the TQ CO takes too much time to level and some stuff makes PKing a bit unfair
just wondering cause my source editting skills is limited down to Adding NPCs, Changeing what skills you get from reborning, and well editting Nobility so everyone can get King/Queen
04/30/2010 16:13 pro4never#9
Quote:
Originally Posted by greasontim View Post
anyone know a source that has every skill working for all classes
just trying to get a Private server for me and my friends to PK on cause the TQ CO takes too much time to level and some stuff makes PKing a bit unfair
Modified versions of coemu have almost all skills working (no counter kill, freezing arrow) but they are incredibly unstable.

none of the released sources that have skills working are very stable... although you could try elite coemu... not sure if it has skills implemented but it should be at least a bit more stable than the other modified coemu and a hell of alot better than 5165 lotf.


<edit>

released my counter kill code for ppl who weren't sure on how to code that type of stuff.

[Only registered and activated users can see links. Click Here To Register...]
04/30/2010 19:52 ©Hyperlink#10
Quote:
Originally Posted by pro4never View Post
All of the above are very easy to code...

Simplest way for reflect for example is to add a check in your attack code to see if the attacked target has the skill. If so do a calculation to see if reflect goes off (so like 2-5 percent chance of activation?) and then return the damage (cap it or do w/e dmg calculation you want for it)

Counter kill is somewhat similar depending on how you code it but you need more things like cooldown time, if the skill is active or not, etc.


Dodge is same as stig really... just see if it's active when taking dmg from bows and if so reduce it by x percent.

Skills are really not that hard to code. Also I thought all of them already worked in 5165... try looking at an improved 5165 source.
reflect have like 10-20% chance.
its always coming :)
04/30/2010 20:13 greasontim#11
cant do anymore downloading till 2morrow when my DL amount drop back to 0/20 GBs i'll look into getting it than
04/30/2010 20:55 pro4never#12
Quote:
Originally Posted by ©Hyperlink View Post
reflect have like 10-20% chance.
its always coming :)
Yah but that also makes it rather overpowered. That's why I always reduce the chance. You can set it to anything you like. It's super simple to change.

Hell you can change it based on amount of war rebirths even.
05/01/2010 00:26 pintser#13
Quote:
Originally Posted by pro4never View Post
Which is exactly what I said... Check that the character has the skill... do a percent success calculation, then do the damage return calculation...

It's all very simple stuff I just didn't go into any specifics because I don't use lotf at all. It's the same in any source really, just the wording will change.
Yes i know :)..
I just wonted to speak it out in C# a little, so he knows a little how to start :)..
Nice explenation of u :)..
Just translated it in C#