The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OSI Weapon Speeds
Author Message
Mad Gunther
Apprentice
*

Posts: 45
Likes Given: 11
Likes Received: 5 in 5 posts
Joined: Oct 2015
Reputation: 1



Post: #9
RE: OSI Weapon Speeds
(01-04-2016 02:18 AM)Coruja Wrote:  the swing speed formula is not always the same for everyone, it can change based on your CombatSpeedEra and SpeedScaleFactor settings on sphere.ini

here you can check all sphere internal formulas: https://github.com/Sphereserver/Source/b...lc.cpp#L25

Hello coruja, is based on sphere 55i the sphere custom combat system from 0.56c?

one example... from Ccharfight.cpp

Code:
    if (!iStatBonus)
                iStatBonus = static_cast<STAT_TYPE>(STAT_STR);
            if (!iStatBonusPercent)
                iStatBonusPercent = 10;
            iDmgBonus = Stat_GetAdjusted(iStatBonus) * iStatBonusPercent / 100;

            iDmgMin += iDmgBonus;
            iDmgMax += iDmgBonus;
        }
        iDmgMin += iDmgMin * iDmgBonus / 100;
        iDmgMax += iDmgMax * iDmgBonus / 100;
    }

    if ( bNoRandom )
        return( bGetMax ? iDmgMax : iDmgMin );
    else
        return( Calc_GetRandVal2(iDmgMin, iDmgMax) );
}

i´m working right now trying to replicate the 51a system from source into 0.56c, in 51a there were to types of stat bonus, the first one with melee weapons were based on STR (just like the one posted before) and another one based on DEX when you used archery.

If you can tell me something about what versions of sphere it is based this "sphere custom combat system" and show me the internal formulas would be very encouraging for my project as i can compare the two system in scripts instead of ingame running oldies versions. I want to do that because i find the 51a source a little bit extrange like a lacking of some minor code being lost but atleast looks legit.

Thank you and all the rest of the devs for the great work taking back older system and thinking in everyone. I´m running 0.56c version with t2a installation and 1.26.4 client and looks like i´m playing an overdope tus 0.48e... and that´s friggin cool have to say.

Thanks in advance, any info would be very helpful! greetings.
01-20-2016 07:07 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
OSI Weapon Speeds - Extreme - 08-30-2014, 02:59 PM
RE: OSI Weapon Speeds - darksun84 - 08-31-2014, 05:47 AM
RE: OSI Weapon Speeds - Extreme - 08-31-2014, 06:04 AM
RE: OSI Weapon Speeds - kn4tseb - 09-01-2014, 04:54 AM
RE: OSI Weapon Speeds - Extreme - 09-01-2014, 06:13 AM
RE: OSI Weapon Speeds - evening - 01-03-2016, 03:04 AM
RE: OSI Weapon Speeds - anora - 01-03-2016, 07:42 AM
RE: OSI Weapon Speeds - Coruja - 01-04-2016, 02:18 AM
RE: OSI Weapon Speeds - Mad Gunther - 01-20-2016 07:07 AM
RE: OSI Weapon Speeds - XuN - 01-20-2016, 08:11 PM
RE: OSI Weapon Speeds - Coruja - 01-21-2016, 05:45 AM
RE: OSI Weapon Speeds - Mad Gunther - 01-22-2016, 09:37 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)