SphereCommunity
Armor Question - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Armor Question (/Thread-Armor-Question)

Pages: 1 2


Armor Question - daedelus - 10-19-2012 09:43 AM

I'm trying to make a new of bonification damage's system. If i put <ARGN1> the damage deals no respect another's armor. Exist a variable where the damages deals respects the native sphere's armor system?

For example:

Code:
[EVENTS E_BONIFICADORES]
//LUMBERJACKING 20% Bonusses
ON=@HIT  //20% PERCENT OF DAMAGE, but not respect armor.
ARGN1 = <ARGN1>*(((<LUMBERJACKING>*2)/1000)/10)

Thanks


RE: Armor Question - daedelus - 10-20-2012 12:33 AM

Any idea?.


RE: Armor Question - Extreme - 10-20-2012 01:13 AM

ARGN1 = <EVAL <ARGN1>*(((<LUMBERJACKING>*2)/1000)/10)>
?


RE: Armor Question - daedelus - 10-20-2012 01:31 AM

(10-20-2012 01:13 AM)Extreme Wrote:  ARGN1 = <EVAL <ARGN1>*(((<LUMBERJACKING>*2)/1000)/10)>
?

I tried that. The damage is correctly, but ignores armor. So, is same thing hitting with or without armor

Thanks


RE: Armor Question - Shaklaban - 10-20-2012 01:55 AM

if you set argn1 to any constant value is it still ignores the armor or not?


RE: Armor Question - daedelus - 10-20-2012 02:16 AM

(10-20-2012 01:55 AM)Shaklaban Wrote:  if you set argn1 to any constant value is it still ignores the armor or not?

yes, still ignores armor. I don't know another variable to use.

Thanks


RE: Armor Question - Extreme - 10-20-2012 10:56 AM

(10-20-2012 01:31 AM)daedelus Wrote:  
(10-20-2012 01:13 AM)Extreme Wrote:  ARGN1 = <EVAL <ARGN1>*(((<LUMBERJACKING>*2)/1000)/10)>
?

I tried that. The damage is correctly, but ignores armor. So, is same thing hitting with or without armor

Thanks
Then use @GetHit instead @Hit and check it.


RE: Armor Question - Rizz - 10-20-2012 11:00 AM

I had the same problem with a clean sphere installation: weapons ignore AR.
So i decided to make my own armor system under @gethit.
Anyway you could do that on @hit too calling a custom function for the deal damage.


RE: Armor Question - daedelus - 10-20-2012 10:11 PM

Yes but, i like sphere's native armor system, i don't like to change that. Anyway, How the armor's system is designed in sphere? (specifically).

So, what is the relationship-armor weapon? (hardcored)

Thanks


RE: Armor Question - daedelus - 10-21-2012 05:18 PM

up up?