Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NEW DYNAMIC DAM VALUE
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #1
NEW DYNAMIC DAM VALUE
Ok, ive been updating the server to latest rev ..

Code:
ON=@SkillmakeItem
IF (<act.IsWeapon>)
    //act.increasedam += 35
      act.dam = 100 // <muldiv <act.dam> 35 100>
ENDIF

when item is crafted i get: resphysical 100% when usind act.dam at 100
did i missunderstood something badly or its not working as it should??

i think its taking armor instead damage Smile

Thanks!
(This post was last modified: 08-09-2014 12:20 PM by kn4tseb.)
08-09-2014 09:33 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

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



Post: #2
RE: NEW DYNAMIC DAM VALUE
Both Dam and Armor were using the same variable from 'the Beggining of the times' but when I added ResPhysical to read/write directly it ... the mess were show up!!!

I'll create a new variable for defense to make it work properly.
08-09-2014 05:23 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes XuN's post
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: NEW DYNAMIC DAM VALUE
Thank you
08-10-2014 12:13 AM
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)