The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Physical Armor is not being counted
Author Message
AmpereJoule
Journeyman
*

Posts: 59
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0



Post: #1
Physical Armor is not being counted
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]
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
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=10
TAG.ResPhysical=8
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1

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

[ITEMDEF 01417]
DUPEITEM=01410

[ITEMDEF 01411]
DEFNAME=i_platemail_leggings
TYPE=T_ARMOR
RESOURCES=20 i_ingot_iron
SKILLMAKE=BLACKSMITHING 13.8
WEIGHT=7
FLIP=1
REQSTR=130
DUPELIST=0141a
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Legs
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=15
TAG.ResPhysical=8
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1

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

[ITEMDEF 0141a]
DUPEITEM=01411

[ITEMDEF 01412]
DEFNAME=i_platemail_helm
TYPE=T_ARMOR
RESOURCES=15 i_ingot_iron
SKILLMAKE=BLACKSMITHING 12.6
WEIGHT=5
FLIP=1
REQSTR=130
DUPELIST=01419
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Helm
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=10
TAG.ResPhysical=8
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1

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

[ITEMDEF 01419]
DUPEITEM=01412

[ITEMDEF 01413]
DEFNAME=i_platemail_gorget
TYPE=T_ARMOR
RESOURCES=10 i_ingot_iron
SKILLMAKE=BLACKSMITHING 12.4
WEIGHT=2
FLIP=1
REQSTR=130
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Gorget
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=5
TAG.ResPhysical=8
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1

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

[ITEMDEF 01414]
DEFNAME=i_platemail_gloves
TYPE=T_ARMOR
RESOURCES=12 i_ingot_iron
SKILLMAKE=BLACKSMITHING 12.9
WEIGHT=2
FLIP=1
REQSTR=130
DUPELIST=01418
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Gauntlets
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=5
TAG.ResPhysical=8
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1

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

[ITEMDEF 01418]
DUPEITEM=01414

[ITEMDEF 01415]
DEFNAME=i_platemail_chest
TYPE=T_ARMOR
RESOURCES=25 i_ingot_iron
SKILLMAKE=BLACKSMITHING 14.5
WEIGHT=10.0
FLIP=1
REQSTR=130
DUPELIST=01416
CATEGORY=Provisions - Armor
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Breastplate
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=25
TAG.ResPhysical=10
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1

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

[ITEMDEF 01416]
DUPEITEM=01415

[eof]

Does anyone know what possibly is happening?
01-14-2013 11:18 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Physical Armor is not being counted - AmpereJoule - 01-14-2013 11:18 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)