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
About the new combat system
Author Message
XuN
Sphere Developer
*****

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



Post: #31
RE: About the new combat system
Code:
if (<local.iDiff> < 0)
    local.iDiff = 0 // just means it's very hard.
elseif (<local.iDiff>> 100)
    local.iDiff = 100 // just means it's very easy.
endif

Then if negatives works, just remove the '0' limitation and leave it this way:

Code:
if (<local.iDiff> > 100)
    local.iDiff = 100 // just means it's very easy.
endif
07-24-2015 07:11 PM
Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

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

Hybris Ultima Online

Post: #32
RE: About the new combat system
Found something more weird about this.

Sword, Fencing, Mace, etc. below 50%, will not skillgain.
Sword, Fencing, Mace, etc. above 50% will skillgain.

hahaha

Made this:

Code:
ON=@HITTRY

IF (<<serv.skill.<action>.key>> < 500) || (<<serv.skill.<action>.key>> == 0)
IF (<ACTION>==SKILL_SWORDSMANSHIP)
    skillgain swordsmanship
    ELIF (<ACTION>==SKILL_FENCING)
    skillgain fencing
    ELIF (<ACTION>==SKILL_MACEFIGHTING)
    skillgain macefighting
    ELIF (<ACTION>==SKILL_ARCHERY)
    skillgain archery
    endif
endif

[Image: 2hy9q0y.png]
(This post was last modified: 07-25-2015 03:10 AM by Lazarus.)
07-25-2015 02:33 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #33
RE: About the new combat system
I would not set the skillgain under HITTRY, in this way you can increase the skill standing 3 tiles away from your opponent just pressing the macro "attack last" and without any hit.
I suggest you to use @success, @fail or @hit, @miss
07-26-2015 12:26 AM
Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

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

Hybris Ultima Online

Post: #34
RE: About the new combat system
(07-26-2015 12:26 AM)Rizz Wrote:  I would not set the skillgain under HITTRY, in this way you can increase the skill standing 3 tiles away from your opponent just pressing the macro "attack last" and without any hit.
I suggest you to use @success, @fail or @hit, @miss

Okay then. Thank you! Smile I didn't know about the tiles.

[Image: 2hy9q0y.png]
07-26-2015 03:19 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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