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
Question about OSI-Style Tactics
Author Message
Archaaz
Journeyman
*

Posts: 98
Likes Given: 12
Likes Received: 4 in 4 posts
Joined: Aug 2013
Reputation: 1



Post: #7
RE: Question about OSI-Style Tactics
(09-24-2013 12:56 PM)Coruja Wrote:  maybe you got confused because the wrong name on function f_combatsys_damagebonus_uor, this formula is AOS (not UO:R)

COMBAT_OSIDAMAGEMOD uses this same AOS formula too, but it's hardcoded and you cant make custom changes. Thats why there's the same formula to be used on script side, on script you can customize it as you need. Since it's the same formula, if you use both you will get double damage

I think I got confused because I do not know what the heck I am doing, a fact to which I think Dark can attest...Smile. Pretty new to all of this.

Sop the UOR setting and AOS setting in sphere_combat_functions are basically the same? Thanks for the explanation, though. Let me see if I understand this, if you do not mind indulging me.

Rather than using the combat setting in Sphere.ini (as you and darksun say it follows the AOS version and is hard-coded, and would do double damage if used with the custom combat script), I can use the Combat System Settings in sphere_settings in the add-on Combat folder:

Quote:///////////////////////////////////////////////////////////////
//////// Combat System Settings
///////////////////////////////////////////////////////////////
// Formulas or main system used in here. It will vary from expansion to expansion.
// 0 = Default: Use Sphere's default system.
// 1 = Custom: Use different settings from different expansions
// 2 = Ultima Online: Renaissance
// 3 = Ultima Online: Age of Shadows
scp.Combat_FormulasUsed=1

// Which calculation of Damage Bonus should be used?
// 0 = Default. 1 = UO:R. 2 = AOS.
scp.Combat_DamageBonus=1

And then remove the parts I do not want from sphere_combat_events, as listed in my original post, to remove the lumberjacking and anatomy bonus, and likewise add other custom elements I may wish, such as additional damage bonuses from other skills, events, functions, etc.
09-24-2013 06:35 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Question about OSI-Style Tactics - Archaaz - 09-21-2013, 06:30 PM
RE: Question about OSI-Style Tactics - Archaaz - 09-24-2013 06:35 PM

Forum Jump:


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