![]() |
|
About the new combat system - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: About the new combat system (/Thread-About-the-new-combat-system) |
About the new combat system - Rizz - 07-06-2015 06:22 AM I noticed that now is very easy to miss a target, is there some kind of local or argn to manage the chance to hit? Should I script something on my own? RE: About the new combat system - darksun84 - 07-06-2015 06:32 AM In @HitTry: actdiff < 0 always fail, >=0 always success. RE: About the new combat system - Lazarus - 07-14-2015 07:34 AM (07-06-2015 06:22 AM)Rizz Wrote: I noticed that now is very easy to miss a target, is there some kind of local or argn to manage the chance to hit? Yes. Is something weird. I want the old system :'( (with the changes of damage formula) RE: About the new combat system - escribano - 07-14-2015 10:45 AM I've noticed that too... so there is no way to change it unless we re-script a part of sphere that have been "improved"??? whats the chances??? its funny or sad? :/ Back the old system or unleast let us chooose the system we want! RE: About the new combat system - Lazarus - 07-14-2015 01:19 PM (07-14-2015 10:45 AM)escribano Wrote: I've noticed that too... so there is no way to change it unless we re-script a part of sphere that have been "improved"??? whats the chances??? its funny or sad? :/ Chill out man they are working. I know, it's frustrating because we can't live our shards fine, but they're trying the best, Coruja and XuN have reworked all the emulator and fixed the bugs that Sphere has had. Now is better, but when they change something big (like the combat system and speed formulas) there are mistakes sometimes.I agree with your call, hope they will let us choose the old system too because we all need that.
RE: About the new combat system - XuN - 07-14-2015 04:45 PM Here's the old formula scripted and commented like we had it in the source: Code: [function f_HitChance]EDIT: the less iDiff, the more difficult. RE: About the new combat system - darksun84 - 07-14-2015 06:36 PM That was a nice hit formula , I like the idea of more easy to hit an opponent with a ranged weapon
RE: About the new combat system - Lazarus - 07-16-2015 01:22 AM (07-14-2015 04:45 PM)XuN Wrote: Here's the old formula scripted and commented like we had it in the source: And what's changed in the new formula? why is so hard to hit? How can I reactivate this formula in my sphere? just change it in Combat? RE: About the new combat system - Rizz - 07-16-2015 08:07 AM Code: local.iDiff = (<local.iSkillAttack> - <local.iSkillDefend>) /5WHO ATTACKS skillsum 1000 WHO DEFENDS skillsum 2000 local.iDiff = 0 --> always hit, are you sure is correct? 100 means 100% hits or 100% miss? RE: About the new combat system - XuN - 07-18-2015 07:17 PM Didn't read the comments, just copied them. Success formula is something like this: [function Skill_CheckSuccess] local.dif=<eval <ActDiff>*10> return <qval <local.diff> > <r1000>?1:0> There are some more checks to make a bell curved check, but they are rarelly used and very complex and long to script them now ![]() Coming back to topic, these comments are wrong ... they should be the opposite. |