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
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #10
RE: OSI Weapon Speeds
You can add CombatBonusStat and CombatBonusPercent to weapons and/or characters:

Code:
[TYPEDEF t_weapon_xbow]
ON=@Equip
SRC.CombatBonusStat=2       // 0 = STR, 1 = INT, 2 = DEX
SRC.CombatBonusPercent=10 // Percent of the stat applied to the damage bonus, ie: You have 88 int and 10% of CombatBonusPercent, then +9 damage will be applied ( real dam should be 8.8, but decimal values get rounded up, so this becomes 9 in this case ).

ON=@UnEquip
SRC.CombatBonusStat
SRC.CombatBonusPercent

You can make staffs get bonus from int, daggers/bows from dex or whatever.
This effect is only applied to damage done by physical hits (Not to Magic spells).
01-20-2016 08:11 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes XuN's post
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)