SphereCommunity
NEW DYNAMIC DAM VALUE - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: NEW DYNAMIC DAM VALUE (/Thread-NEW-DYNAMIC-DAM-VALUE)



NEW DYNAMIC DAM VALUE - kn4tseb - 08-09-2014 09:33 AM

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!


RE: NEW DYNAMIC DAM VALUE - XuN - 08-09-2014 05:23 PM

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.


RE: NEW DYNAMIC DAM VALUE - kn4tseb - 08-10-2014 12:13 AM

Thank you