Jump to content
  • 0

tbox event


vgrebirth

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

* need a script that announce every hour and drop 1 TCG only.

* announce the name who destroyed the tbox.

* location = prontera 140, 176

* any npc sprite will do.

Thanks in advance!

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  742
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

-	script	Treasure Box Summoner	-1,{

OnClock2100:
	announce "A rare Treasure Box has been spawned somewhere in Prontera.",0;
	monster "prontera",0,0,"Treasure Box",1955,1,"Treasure Box Summoner::OnTBoxKilled";

OnTBoxKilled:
	announce "The rare Treasure Box has been destroyed by "+strcharinfo(0)+"!", bc_all;
	end;
}

this script is hidden npc

announce every hour and drop 1 TCG only.

change OnClock2100 to 

OnMinute00:
//Things to do ,which will happen every Hour at Minute 00

 

To drop 1 tcg edit the mob id 1995 add 7227 on drop list or can use this command automatic get the 7227 when the players killed

getitem 7227,1; add this code below on announce

Edited by Bringer
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

thank you so much for this script @Bringer

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  742
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

7 hours ago, vgrebirth said:

thank you so much for this script @Bringer

No problem sir

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

-	script	Treasure Box Summoner	-1,{

OnClock2100:
	announce "A rare Treasure Box has been spawned somewhere in Prontera.",0;
	monster "prontera",0,0,"Treasure Box",1955,1,"Treasure Box Summoner::OnTBoxKilled";

OnTBoxKilled:
	announce "The rare Treasure Box has been destroyed by "+strcharinfo(0)+"!", bc_all;
	end;
}

how to fix this error sir?

Untitled.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...