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-nmm6 (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-nmm6 (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-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Combat %
Author Message
Pidrila
Apprentice
*

Posts: 36
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2013
Reputation: 0



Post: #1
Combat %
Hey, i just wanna ask you guys for a little advice...

i am making combat system, i get bonus damage from armors..
like this

Code:
if <isevent.E_ACID2>
tag.ArmorbonusDam = <eval(<str>/29)>

How i can set the % from <str> not <str>/29 but to be like this

Code:
tag.ArmorbonusDam = <eval(9% of <str>)>

sorry for my english..
01-22-2014 12:48 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Combat % - Pidrila - 01-22-2014 12:48 AM
RE: Combat % - darksun84 - 01-22-2014, 01:16 AM
RE: Combat % - Pidrila - 01-22-2014, 01:48 AM
RE: Combat % - Wap - 01-22-2014, 06:24 AM
RE: Combat % - Pidrila - 01-22-2014, 09:33 PM
RE: Combat % - Runcuks - 01-22-2014, 10:47 PM
RE: Combat % - XuN - 01-22-2014, 09:43 PM
RE: Combat % - Pidrila - 01-25-2014, 07:52 PM
RE: Combat % - XuN - 01-25-2014, 08:02 PM
RE: Combat % - Pidrila - 01-25-2014, 08:12 PM
RE: Combat % - XuN - 01-26-2014, 03:37 AM
RE: Combat % - Pidrila - 01-26-2014, 05:47 AM
RE: Combat % - Pidrila - 01-26-2014, 08:10 AM
Re: RE: Combat % - Pidrila - 01-27-2014, 01:11 AM
Re: RE: Combat % - Pidrila - 01-27-2014, 01:11 AM
RE: Combat % - Pidrila - 01-27-2014, 07:44 PM
RE: Combat % - Alaric - 01-27-2014, 08:18 PM
RE: Combat % - Pidrila - 01-28-2014, 12:37 AM
RE: Combat % - darksun84 - 01-28-2014, 12:52 AM
RE: Combat % - Pidrila - 01-28-2014, 01:02 AM

Forum Jump:


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