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-nmm6 (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-nmm6 (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-nmm6 (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
Tamming and Peacemaking
Author Message
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #2
RE: Tamming and Peacemaking
Code:
on=@(pre)start
    if (<targ.karma> < -799) && !(<findid.i_lute_special>)
        sysmessage You need a special lute to calm down the creature.
        return 1
    endif
Depends what you want... can be either trigger @start or @prestart.
The same for taming, only change id of the item and sysmessage.

E: Make sure the statement with karma works... I've heard of some issue. I think it had something to do with npc's brain. It was an NPC with brain_undead and had karma 0 but its name was red.
(This post was last modified: 12-29-2013 12:23 PM by Alaric.)
12-29-2013 12:18 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Tamming and Peacemaking - larmc20 - 12-29-2013, 07:45 AM
RE: Tamming and Peacemaking - Alaric - 12-29-2013 12:18 PM

Forum Jump:


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