![]() |
Physical Armor is not being counted - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Physical Armor is not being counted (/Thread-Physical-Armor-is-not-being-counted) Pages: 1 2 |
Physical Armor is not being counted - AmpereJoule - 01-14-2013 11:18 AM Hey guys, I changed the "physical armor" in "sphere_armor_blacksmithing_platemail.scp" at "C:\sphere\scripts\items\armors" and every ".scp" at "C:\sphere\scripts\items\armors\colored". Now when I equip all the parts of "Iron Set" i get 50 of "Physical Armor", but when I fight against an skeleton, for exemple, his damage is the same that if I was not using any armor. here it is the script "sphere_armor_blacksmithing_platemail.scp" that I said above: Code: [ITEMDEF 01410] Does anyone know what possibly is happening? RE: Physical Armor is not being counted - Mordaunt - 01-14-2013 11:40 AM no ARMOR=<x> on any of those pieces... why is that? RE: Physical Armor is not being counted - AmpereJoule - 01-14-2013 11:47 AM (01-14-2013 11:40 AM)Mordaunt Wrote: no ARMOR=<x> on any of those pieces... why is that? Isn't it "TAG.ResPhysical=10" ? RE: Physical Armor is not being counted - Mordaunt - 01-14-2013 11:56 AM Hmm I guess it is.. this is where things get confusing between the SCP file and the standard script pack files. Standard pack doesn't come with the TAG.RedPhysical= or infact any of the elemental resistances defines, but instead uses ARMOR= for basic armor calculations, where as the SCP uses the tags. They can't BOTH be right. However.... Are you creating new peices of armor after you have made the changes? They will not be reflected in items which already exist. If that does not work, you could try looking at putting in an ARMOR= line though that may just serve to confuse things more. RE: Physical Armor is not being counted - AmpereJoule - 01-14-2013 11:57 AM now I put it like this: Code: [ITEMDEF 01410] and it still the same, they still doing their max damage on me. EDIT* I did not create a new one, let me try it! EDIT2* it didn't work. :/ So, I need to find where the damage calculations are in the .scp files. RE: Physical Armor is not being counted - RanXerox - 01-14-2013 03:01 PM If the skeleton is doing cold damage... your cold resistance looks like it will be pretty small, which might explain why you take so much damage from the skeleton... Take a look at CHARDEF 04e (or whatever) and see how much all the TAG.DamCold= (or energy, fire, poison, etc...) add up to... RE: Physical Armor is not being counted - AmpereJoule - 01-15-2013 07:57 AM how the **** can an skeleton do elemental damage? He only has a sword! So, here it is the skeleton script: (I deleted the folder "Monsters" at "C:\sphere\scripts\npcs" and now I am using the "spherechar.scp" from "SCP-NightlyFriday.rar") Code: ... And here it is the old skeleton that I used, from "Undead.scp" at "C:\sphere\scripts\npcs\Monsters" Code: ... PS: I changed these .scp files because the Undead.scp was not Indented(it was like in only one line). PS 2: I am seeing nothing about elemental damage. RE: Physical Armor is not being counted - RanXerox - 01-15-2013 09:30 AM I seem to recall one of those old script packs had an undead event that weakend undead creatures if they were not in the dark... Lets try a couple things, run these commands on your player and your undead monster and see what sorts of EVENTS and TAGs they have on them: .xshow events .xshow tevents .xtaglist RE: Physical Armor is not being counted - AmpereJoule - 01-15-2013 02:20 PM (01-15-2013 09:30 AM)RanXerox Wrote: I seem to recall one of those old script packs had an undead event that weakend undead creatures if they were not in the dark... Lets try a couple things, run these commands on your player and your undead monster and see what sorts of EVENTS and TAGs they have on them: how do I do this? Is it In Game? I tried do this while I was fighting against the skeleton, but it didn't show anything useful. I typed ".xshow events" and clicked on me, it only said that i was guerreiro_class. to tevents it said something about "_human" and taglist just said "taglist=00". I also tried to use it on the skeleton, and again nothing useful and the taglist showed nothing. RE: Physical Armor is not being counted - RanXerox - 01-16-2013 02:00 AM What values do you have in the sphere.ini for EventsPet and EventsPlayer? |