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-nmm8 (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-nmm8 (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-nmm8 (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
NPCs not fighting back?
Author Message
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #9
RE: NPCs not fighting back?
same as cassius, you have to change brain and karma of the npc like u want.
Code:
[CHARDEF C_Guardia_Umana]
NAME=#NAMES_HUMANMALE Guardia Umana
SOUND=snd_HUMAN_M_DIE_01
ID=C_MAN
DESIRES=i_gold,t_wand,t_reagent,t_bone
AVERSIONS=t_TRAP,t_eerie_stuff
CAN=MT_EQUIP|MT_RUN|MT_USEHANDS|MT_WALK
DEF=200
ARMOR=1000
MOVERATE=100
DAM=5,10
TEVENTS=e_Human_guardie_click
CATEGORY=Seven - Npg Razze
SUBSECTION=Guardie Razziali
DESCRIPTION=Guardia Umana

ON=@Create
NPC=BRAIN_animal
STR=150
DEX=500
INT=1
TAG.NAME.HUE=0065
MAXHITS=9000

//EVENTS=+E_Rigenerazione_Fisica


HEALING=100.0
MAGICRESISTANCE=100.0
PARRYING=100.0
SWORDSMANSHIP=100.0
FENCING=100.0
MACEFIGHTING=100.0
TACTICS=100.0
ANATOMY=100.0

KARMA=-2000
FAME={1000 1500}
COLOR=colors_skin

ITEMNEWBIE=i_hair_long
COLOR=colors_hair
ITEMNEWBIE=I_Spada_delle_Guardie_Umane
ITEMNEWBIE=i_platemail_gloves
NAME=Human steel armor
COLOR=0698
ITEMNEWBIE=i_platemail_arms
NAME=Human steel armor
COLOR=0698
ITEMNEWBIE=i_platemail_gorget
NAME=Human steel armor
COLOR=0698
ITEMNEWBIE=i_platemail_chest
NAME=Human steel armor
COLOR=0698
ITEMNEWBIE=i_platemail_leggings
NAME=Human steel armor
COLOR=0698
ITEMNEWBIE=i_cape
NAME=Cape human guard
COLOR=0073e
ITEMNEWBIE=i_SASH
NAME=sash human guard
COLOR=0073e
ITEMNEWBIE=i_shield_round_metal
NAME=Shield human guard
COLOR=0698


////////////////////////////////////////
//--- Evento : @NPCSeeNewPlayer ------//
////////////////////////////////////////

ON=@NPCseenewplayer

    IF (<SRC.FLAGS>&000000001)
       RETURN 1
    ENDIF

    IF <SRC.FINDID.I_Memory_Messaggero>
        RETURN 1
    ENDIF


//--- Attacco su Drow - Vampiro - Efreet ---//
  
   IF (0<src.tag.razzadef>=1) || (0<src.tag.razzadef>=5) || (0<src.TAG.RAZZADEF>=2)
       ATTACK
       IF  <SRC.STAMINA>>0
            SRC.STAMINA=0
         ENDIF      
   ENDIF

this is my custom guard

There are worse ways to understand the sense of the word: no. Ranting
(This post was last modified: 01-26-2017 08:20 PM by massis87.)
01-26-2017 08:19 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
NPCs not fighting back? - Arathil - 10-01-2016, 04:19 PM
RE: NPCs not fighting back? - Kanibal - 10-01-2016, 09:16 PM
RE: NPCs not fighting back? - x77x - 10-02-2016, 01:46 PM
RE: NPCs not fighting back? - Coruja - 10-06-2016, 08:34 AM
RE: NPCs not fighting back? - x77x - 10-06-2016, 09:16 PM
RE: NPCs not fighting back? - Leonidas - 11-05-2016, 05:09 AM
RE: NPCs not fighting back? - Coruja - 11-05-2016, 01:15 PM
RE: NPCs not fighting back? - massis87 - 01-26-2017 08:19 PM
RE: NPCs not fighting back? - Rostok - 03-26-2017, 01:26 PM
RE: NPCs not fighting back? - Coruja - 03-27-2017, 11:05 AM
RE: NPCs not fighting back? - Rostok - 03-27-2017, 05:04 PM

Forum Jump:


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