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

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



Post: #1
Extra gold killings mobs
Hi guys,

I need your help with this script:

[ITEMDEF i_arken_talisman]
Defname=i_arken_talisman
ID=i_talisman4
Name=Arken talisman
type=t_jewelry
Tevents=t_arken
Tevents=t_luck_item
tag.luck=100

ON=@EQUIP
IF (<src.findlayer.9.baseid>==i_arken_talisman)
src.events=+e_more_money
else
Return 0
endif

ON=@UNEQUIP
src.events=-e_more_money

[Events e_more_money]
ON=@kill
if (<act.isplayer>)
obj=<argo.uid>
if (<obj.isevent.e_exp>)
local.new=<new>
serv.newitem i_gold,{1000 2000}
bounce <new>
new=<local.new>
return 1
endif
endif


The script serve as the player kill a mob, this drop extra gold.
When I kill the mob with him GM drop the gold, but when you kill the player nothing happens. Can you help?
06-30-2013 10:54 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Extra gold killings mobs - Van Glan Bloom - 06-30-2013 10:54 AM
RE: Extra gold killings mobs - RanXerox - 07-01-2013, 02:58 AM
RE: Extra gold killings mobs - Mordaunt - 07-01-2013, 06:46 AM

Forum Jump:


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