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






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: #7
RE: Physical Armor is not being counted
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:
...
[CHARDEF 039]
DEFNAME=c_skeleton_w_sword
//DEFNAME2=BONE_KNIGHT
NAME=Skeleton
SOUND=snd_MONSTER_SKLETN1
ICON=i_pet_SKELETON
ANIM=078c7f
CAN=MT_WALK|MT_USEHANDS|MT_EQUIP
DAM=7,13
ARMOR=9
RESOURCES=8 i_reag_bone
DESIRES=t_bone,i_gold
FOODTYPE=
//SHELTER=r_spooky
BLOODCOLOR=-1
TEVENTS=e_undead
CATEGORY=Monsters
SUBSECTION=Undeads
DESCRIPTION=Skeleton (Sword & Shield)

ON=@Create
    NPC=brain_undead
    STR={56 80}
    DEX={56 75}
    INT={16 40}
    SWORDSMANSHIP={50.0 55.0}
    PARRYING={45.0 55.0}
    MAGICRESISTANCE={45.0 60.0}
    TACTICS={45.0 60.0}
    WRESTLING={45.0 55.0}
    FAME={100 2000}
    KARMA={-999 -5999}
    //ALIGNMENT=EVIL

ON=@NPCRestock
    ITEM=i_shield_wood
    ITEM=i_CUTLASS
    ITEM={ meager_undead_backpack 1 average_undead_backpack 2 }
...

And here it is the old skeleton that I used, from "Undead.scp" at "C:\sphere\scripts\npcs\Monsters"
Code:
...
[CHARDEF 039]

DEFNAME=c_skeleton_w_sword
NAME=skeleton
ICON=i_pet_skeleton
SOUND=snd_monster_skletn1
CAN=MT_WALK|MT_USEHANDS|MT_EQUIP
DAM=5,11
ARMOR=15
DESIRES=r_graveyards,t_coin,t_gold,t_gem,t_potion
AVERSIONS=t_trap,r_civilization
//FOODTYPE=
RESOURCES=2 i_reag_bone
BLOODCOLOR=-1
MOVERATE=100
TAG.Barding.Diff=38.9
TAG.Slayer=SLAYER_UNDEAD
TEVENTS=e_undead
CATEGORY=Monsters
SUBSECTION=Undead
DESCRIPTION=Skeleton (sword and shield)

ON=@Create
   NPC=brain_undead
   FAME=450
   KARMA=-450
   STR={56 80}
   MAXHITS={34 48}
   DEX={56 75}
   MAXSTAM={56 75}
   INT={16 40}
   MAXMANA={16 40}
   MAGICRESISTANCE={45.0 60.0}
   PARRYING={45.0 60.0}
   SWORDSMANSHIP={45.0 55.0}
   TACTICS={45.0 60.0}
   WRESTLING={45.0 55.0}
   MODAR={0 5}
   RESCOLD={25 40}
   RESENERGY={5 15}
   RESFIRE={5 10}
   RESPOISON={25 35}

ON=@NPCRestock
   ITEM=loot_skeleton
   ITEM=i_scimitar
   ITEM=i_scimitar_skeleton,1,R50
   //25 - 50 Gold. Bone Armor
...


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.
(This post was last modified: 01-15-2013 07:58 AM by AmpereJoule.)
01-15-2013 07:57 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Physical Armor is not being counted - AmpereJoule - 01-15-2013 07:57 AM

Forum Jump:


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