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:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
skill trainer questions
Author Message
dabritmusic
Journeyman
*

Posts: 50
Likes Given: 8
Likes Received: 2 in 1 posts
Joined: Nov 2013
Reputation: 0



Post: #1
skill trainer questions
i have this auto trainer script ive been working on. i ran into a few problems tho. first the trainer doesnt stay in one spot. is there a way to have him idle in 1 tile? and also the tag to make him invul. i had a problem when training, if you had high stats you could kill him.

[CHARDEF C_trainer_fencing]
DEFNAME=C_trainer_fencing
NAME=Trainer of Fencing
ID=C_MAN
DESIRES=i_gold
AVERSIONS=t_TRAP,t_eerie_stuff
TSPEECH=jobtrainer

on=@hittry
if 0<src.tag.fighting>==1
VAR.TEMP = <STR>
HITPOINTS = <VAR.TEMP>
return 1

ON=@Create
COLOR=colors_skin
STR={120 155}
DEX={165 175}
INT={161 175}

FENCING={50.0 70.0}
PARRYING={50.0 70.0}
SWORDSMANSHIP={50.0 70.0}
WRESTLING={50.0 70.0}
MACEFIGHTING={50.0 70.0}
TACTICS={50.0 70.0}

NPC=brain_human

ITEMNEWBIE=random_male_hair
COLOR=colors_hair
ITEMNEWBIE=random_facial_hair
COLOR=match_hair

ON=@NPCRestock
ITEM=RANDOM_LIGHT
ITEM=i_ringmail_tunic
ITEM=i_ringmail_leggings
ITEM=i_ringmail_sleeves
ITEM=i_ringmail_gloves
ITEM=i_chainmail_coif
ITEM=i_leather_gorget
ITEM=i_shield_wood
ITEM=i_TrainDagger
ITEM=i_boots_calf
ITEM=random_coin_purse

CATEGORY=Civilized
SUBSECTION=Trainers
DESCRIPTION=Trainer Fencing
02-09-2014 05:39 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
skill trainer questions - dabritmusic - 02-09-2014 05:39 PM
RE: skill trainer questions - Pidrila - 02-09-2014, 05:47 PM
RE: skill trainer questions - dabritmusic - 02-10-2014, 08:49 AM
RE: skill trainer questions - XuN - 02-10-2014, 09:19 AM
RE: skill trainer questions - dabritmusic - 02-12-2014, 08:20 AM

Forum Jump:


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