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
Max Damage
Author Message
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #1
Max Damage
Hi i just was wondering how to do if weapon have like 75-85 dmg it only gona do max damage ? Like all the way do 85
10-26-2012 08:13 PM
Find all posts by this user Like Post Quote this message in a reply
daedelus
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Aug 2012
Reputation: 0



Post: #2
RE: Max Damage
Code:
DAM min,max.  RW     Gets or sets the base damage that the weapon will deal.
More info!

Maybe if you put DAM = 85 or 85,85?.

Thanks
10-26-2012 09:29 PM
Find all posts by this user Like Post Quote this message in a reply
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #3
RE: Max Damage
yea it will work if i put DAM=85,85 but i want make max dam only against monsters but for players 75-85
10-26-2012 09:39 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Max Damage
Try, inside a @hit trigger, this code

PHP Code:
if !(src.isplayer)  
 
argn1 = <argo.ar.hi// I don't know if this is the right sintax, but i am sure that AR.HI hold the maximum damage inside a weapon 
endif 
10-26-2012 10:07 PM
Find all posts by this user Like Post Quote this message in a reply
daedelus
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Aug 2012
Reputation: 0



Post: #5
RE: Max Damage
Code:
if !(src.isplayer)  
argn1 = <argo.ar.hi> // I don't know if this is the right sintax, but i am sure that AR.HI hold the maximum damage inside a weapon
endif

Sure with <AR>?

Code:
ON=@Hit
IF !(<SRC.ISPLAYER>)
ARGN1 = <ARGO.DAM.HI>
ENDIF

may be can work. tell us.

Thanks
(This post was last modified: 10-26-2012 10:54 PM by daedelus.)
10-26-2012 10:15 PM
Find all posts by this user Like Post Quote this message in a reply
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #6
RE: Max Damage
jup its works, thanks guys Smile
10-26-2012 10:53 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #7
RE: Max Damage
ah yes it was dam Big Grin
10-26-2012 11:08 PM
Find all posts by this user Like Post Quote this message in a reply
daedelus
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Aug 2012
Reputation: 0



Post: #8
RE: Max Damage
great Big Grin

Thanks
10-26-2012 11:36 PM
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)