SphereCommunity
Leather Sleeves is not changing PhysicalResist *solved* - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Leather Sleeves is not changing PhysicalResist *solved* (/Thread-Leather-Sleeves-is-not-changing-PhysicalResist-solved)



Leather Sleeves is not changing PhysicalResist *solved* - AmpereJoule - 05-03-2015 01:56 AM

Hello,


I was testing leather sleeves and it is not changing the PhysicalResist when I equip it.

I always do:
Change script;
delete the old leather sleeve in game;
created another using .add i_leather_sleeves;
and I also try it on others players.


Comparing with the platemail arms it is almost the same, but platemail arms is working fine!

Code:
[ITEMDEF 01410]
DEFNAME=i_platemail_arms
TYPE=T_ARMOR
RESOURCES=18 i_ingot_iron
SKILLMAKE=BLACKSMITHING 12.3
WEIGHT=5
FLIP=1
REQSTR=130
DUPELIST=01417
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Arms
//ARMOR=8
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=10
TAG.ResPhysical=8
//TAG.ResFire=0
//TAG.ResCold=0
//TAG.ResPoison=0
//TAG.ResEnergy=0

ON=@Create
COLOR=color_o_iron
HITPOINTS={50 60}



[ITEMDEF 013c5]
DEFNAME=i_leather_sleeves
TYPE=t_armor_leather
RESOURCES=4 i_hides_cut
SKILLMAKE=TAILORING 3.9, t_sewing_kit
WEIGHT=2.0
FLIP=1
REQSTR=50
DUPELIST=013cd
CATEGORY=Provisions - Armor - Tailoring
SUBSECTION=Leather Armor
DESCRIPTION=Leather Sleeves
TAG.ResPhysical=5
//TAG.ResFire=0
//TAG.ResCold=0
//TAG.ResPoison=0
//TAG.ResEnergy=0

ON=@Create
HITPOINTS={36 48}

[ITEMDEF 013cd]
DUPEITEM=013c5


Is it the "TYPE=T_ARMOR"?


Respectfully,
AmpereJoule


RE: Leather Sleeves is not changing PhysicalResist - XuN - 05-03-2015 04:33 AM

You are using SCP, right? If so you'll have to search in these scripts what's wrong because by default it was working fine.

However if you used at some point the items/sphere_item_typedef_equipitem.scp script from default script pack you may have some version's differences, right now tag.Res* is not being used anymore (also the rest of scripts were updated reflecting that), we are using ResPhysical, ResPoison, etc.


RE: Leather Sleeves is not changing PhysicalResist - AmpereJoule - 05-06-2015 10:58 PM

(05-03-2015 04:33 AM)XuN Wrote:  You are using SCP, right? If so you'll have to search in these scripts what's wrong because by default it was working fine.

However if you used at some point the items/sphere_item_typedef_equipitem.scp script from default script pack you may have some version's differences, right now tag.Res* is not being used anymore (also the rest of scripts were updated reflecting that), we are using ResPhysical, ResPoison, etc.

hey XuN, thank you very much man, it is solved /o/