SphereCommunity
modifing itemdef dam.lo dam.hi - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: modifing itemdef dam.lo dam.hi (/Thread-modifing-itemdef-dam-lo-dam-hi)

Pages: 1 2


RE: modifing itemdef dam.lo dam.hi - darksun84 - 06-24-2014 06:06 AM

(06-24-2014 05:23 AM)kn4tseb Wrote:  i'm using ON=@SkillmakeItem trigger

the idea is once a condition is succesfully passed, crafted weapon gets a damage increase, but INCREASEDAM is not functional yet, and "damage" is for elemental type so neither one of them is functional...
how would this MODAR be for weapons? im reading this is for armor Confused

PD: why there is a modar for armor and there's not a moddam for weapons? is it because a client matter or because it might be implemented on future?

is also for weapons Rolleyes

27-05-2007, Nazghul
- Added: MODAR on weapons should modify the DAM effect of a weapon


RE: modifing itemdef dam.lo dam.hi - kn4tseb - 06-24-2014 12:03 PM

gonna try it Smile


RE: modifing itemdef dam.lo dam.hi - kn4tseb - 06-24-2014 01:28 PM

Darksun84, would you giveme an example for modar???

ON=@SkillmakeItem
if (<act.IsWeapons>)
modar += 10
endif

????

how does it work? xd


RE: modifing itemdef dam.lo dam.hi - Extreme - 06-24-2014 01:38 PM

ON=@SKILLMAKEITEM
IF <ACT.ISWEAPONS> // Assuming ACT as the crafted item
ACT.MODAR += X
ENDIF


RE: modifing itemdef dam.lo dam.hi - kn4tseb - 06-24-2014 01:42 PM

this would sum the current weapon damage? so if weapon dam is 15 and modar is 10, total weapon dam would be 25, right?


RE: modifing itemdef dam.lo dam.hi - Extreme - 06-24-2014 01:52 PM

I don't know, you have to test Big Grin


RE: modifing itemdef dam.lo dam.hi - kn4tseb - 06-24-2014 01:57 PM

okey, thanks Smile i will, the @hit idea was pretty cool too ^^