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
Insert the Combat scp of s.c.pack in own server.
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #10
RE: Insert the Combat scp of s.c.pack in own server.
(07-08-2012 03:33 PM)Extreme Wrote:  No no, the Lumberjacking bonus will apply only if you use an Axe.
If you are disarmed, it won't apply bonus.

if <def.scp.Combat_UOR_LumberBonus>
if <weapon.type> == t_weapon_axe
local.bonus.lumber = <eval <lumberjacking> / 50>
if <lumberjacking> >= 100.0
local.bonus.lumber += 10
endif

else
local.bonus.lumber = 0
endif
endif

You can see it in highlighted code.

Yep yep! I know! but I want to use this bonus in other type weapons too.

how can i add the weapons there? If i add

if (<weapon.type> == t_weapon_axe || t_weapon_Fence || t_weapon sword)
doesn't works =(

How can i?

EDIT: I fix it i turn on this:

Code:
// If set to 1, combat system will use the body's damage when polymorph
scp.Combat_PolymorphDamage=0

and im using my changes ^_^
now i get a problem

with hit chance on default (ALWAYS HIT)
with hit chance UO:R (something hits with 100 combat skill too less)
with hit chance AOS (something hits with 100 combat skill too less...)

:'( but... i'll try to fix on my own

Thanks ^_ ^

[Image: 2hy9q0y.png]
(This post was last modified: 07-08-2012 07:29 PM by Lazarus.)
07-08-2012 05:46 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Insert the Combat scp of s.c.pack in own server. - Lazarus - 07-08-2012 05:46 PM

Forum Jump:


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