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: 67
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: 246
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: 67
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: 246
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: 67
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)