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?
5165 anyone have any ideas on how i can edit them so they are of some use?
Quote:
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?
Which is exactly what I said... Check that the character has the skill... do a percent success calculation, then do the damage return calculation...Quote:
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);
Modified versions of coemu have almost all skills working (no counter kill, freezing arrow) but they are incredibly unstable.Quote:
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
reflect have like 10-20% chance.Quote:
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.
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.Quote:
reflect have like 10-20% chance.
its always coming :)
Yes i know :)..Quote:
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.