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:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Makemypet
Author Message
Van Glan Bloom
Journeyman
*

Posts: 104
Likes Given: 2
Likes Received: 3 in 3 posts
Joined: Jun 2013
Reputation: 0



Post: #3
RE: Makemypet
I have add the makemypet function in the script, but him dont work =/ I hvae this :

Code:
serv.newnpc c_mound_maggots
    new.MakeMyPet
    endif
   new.flags |= statf_conjured
   new.maxhits=(<eval <local.casterability>/50>)
   new.hits=<new.maxhits>
   new.karma=-2500
   new.fame=0
   new.p=<src.p>
   new.color=<color>
   new.events +e_animate_dead
   serv.newitem i_animate_checker
   new.timer=1
   new.update
   new.MakeMyPet
  cont.targ.remove
remove
return 1
endif


[function MakeMyPet]
serv.newitem=i_memory
new.color=memory_ipet
new.link=<src>
new.cont=<uid>


[ITEMDEF i_animate_checker]
ID=i_memory
TYPE=t_eq_script
NAME=Animate Checker

ON=@Timer
finduid.<cont.tag.owner>.sysmessage @07a1 Your revenant succeeded!
else
cont.hits -= 1
cont.maxhits -= 1
  if (<cont.hits> < 0)
    cont.hits=0    
    cont.remove
  endif
timer=120  // 2 minutos
return 1

[events e_animate_dead]
ON=@NPCLookAtChar
IF (<OWNER>)
IF (<MAGERY>) && ((<NPC> == brain_monster) || (<NPC> == brain_dragon) || (<NPC> == brain_human) || (<NPC> == brain_berserk))
  attack
  return 1
endif
endif

On=@Click
Message @0035 [Summon]

ON=@Death
src.remove
02-18-2015 02:06 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Makemypet - Van Glan Bloom - 02-17-2015, 12:08 AM
RE: Makemypet - XuN - 02-17-2015, 07:39 PM
RE: Makemypet - Van Glan Bloom - 02-18-2015 02:06 AM
RE: Makemypet - XuN - 03-18-2016, 07:23 PM
RE: Makemypet - Anarch Cassius - 03-18-2016, 06:37 AM
RE: Makemypet - Khaos - 03-20-2016, 06:16 AM
RE: Makemypet - Anarch Cassius - 03-20-2016, 06:35 AM
RE: Makemypet - Coruja - 03-20-2016, 03:26 PM
RE: Makemypet - Khaos - 03-25-2016, 09:11 AM
RE: Makemypet - Anarch Cassius - 03-25-2016, 02:07 PM
RE: Makemypet - Khaos - 03-25-2016, 03:41 PM

Forum Jump:


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