View Single Post
Old 05.09.2005, 19:54   #1
melco
Архивный участник
 
Join Date: Sep 2005
Posts: 33
Default Event - Medal Quest

ai.obj
Code:
class roy_the_cat : citizen
handler 32	// MENU_SELECTED
	variable_begin
		"talker"
		"ask"
		"reply"
		"fhtml0"
		"i0"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 1
	negate
	equal
	push_reg_sp
	fetch_i
	branch_false L41913
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	and
L41913
	branch_false L41932
L41914
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	push_reg_sp
	fetch_i
	branch_true L41915
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	or
	push_reg_sp
	fetch_i
	branch_true L41915
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	or
	push_reg_sp
	fetch_i
	branch_true L41915
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6402
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	or
L41915
	branch_false L41930
L41916
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8889.	"eventmedal004.htm"
	push_string S8889
	func_call 84	//  func[FHTML_SetFileName]
	shift_sp -2
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41922
L41917
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8890.	"event_level"
	push_string S8890
S8891.	"rabbit"
	push_string S8891
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8892.	"sellid"
	push_string S8892
	push_const 22
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41929
L41922
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41924
L41923
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8893.	"event_level"
	push_string S8893
S8894.	"hyena"
	push_string S8894
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8895.	"sellid"
	push_string S8895
	push_const 23
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41928
L41924
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41926
L41925
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8896.	"event_level"
	push_string S8896
S8897.	"fox"
	push_string S8897
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8898.	"sellid"
	push_string S8898
	push_const 24
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41927
L41926
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8899.	"event_level"
	push_string S8899
S8900.	"wolf"
	push_string S8900
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8901.	"sellid"
	push_string S8901
	push_const 25
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
L41927
L41928
L41929
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
	func_call 88	//  func[ShowFHTML]
	shift_sp -2
	shift_sp -1
	jump L41931
L41930
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8902.	"eventmedal005.htm"
	push_string S8902
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L41931
L41932
handler_end

class_end


class winnie_the_cat : citizen
handler 32	// MENU_SELECTED
	variable_begin
		"talker"
		"ask"
		"reply"
		"fhtml0"
		"i0"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 1
	negate
	equal
	branch_false L41966
L41933
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_reg_sp
	fetch_i
	push_const 1
	equal
	branch_false L41947
L41934
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6402
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	equal
	branch_false L41945
L41935
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8903.	"winnie_the_cat003.htm"
	push_string S8903
	func_call 84	//  func[FHTML_SetFileName]
	shift_sp -2
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41937
L41936
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8904.	"event_level"
	push_string S8904
S8905.	"rabbit"
	push_string S8905
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8906.	"medal_count"
	push_string S8906
	push_const 10
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41944
L41937
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41939
L41938
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8907.	"event_level"
	push_string S8907
S8908.	"hyena"
	push_string S8908
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8909.	"medal_count"
	push_string S8909
	push_const 20
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41943
L41939
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41941
L41940
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8910.	"event_level"
	push_string S8910
S8911.	"fox"
	push_string S8911
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8912.	"medal_count"
	push_string S8912
	push_const 40
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41942
L41941
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8913.	"event_level"
	push_string S8913
S8914.	"no level"
	push_string S8914
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8915.	"medal_count"
	push_string S8915
	push_const 5
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
L41942
L41943
L41944
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
	func_call 88	//  func[ShowFHTML]
	shift_sp -2
	shift_sp -1
	jump L41946
L41945
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8916.	"winnie_the_cat002.htm"
	push_string S8916
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L41946
	jump L41965
	jump L41948
L41947
	push_reg_sp
	fetch_i
	push_const 4
	equal
	branch_false L41963
L41948
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6402
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	equal
	branch_false L41962
L41949
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41951
L41950
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 10
	assign
	shift_sp -1
	jump L41958
L41951
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41953
L41952
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 20
	assign
	shift_sp -1
	jump L41957
L41953
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41955
L41954
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 40
	assign
	shift_sp -1
	jump L41956
L41955
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 5
	assign
	shift_sp -1
L41956
L41957
L41958
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6393
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_event	//  i0
	push_const 192
	add
	fetch_i
	greater_equal
	branch_false L41960
L41959
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8917.	"winnie_the_cat004.htm"
	push_string S8917
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L41961
L41960
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8918.	"winnie_the_cat005.htm"
	push_string S8918
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L41961
L41962
	jump L41964
L41963
L41964
L41965
	shift_sp -1
	jump L42008
L41966
	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 2
	negate
	equal
	branch_false L42007
L41967
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6402
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	equal
	branch_false L42006
L41968
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41970
L41969
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 10
	assign
	shift_sp -1
	jump L41977
L41970
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41972
L41971
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 20
	assign
	shift_sp -1
	jump L41976
L41972
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41974
L41973
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 40
	assign
	shift_sp -1
	jump L41975
L41974
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 5
	assign
	shift_sp -1
L41975
L41976
L41977
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6393
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_event	//  i0
	push_const 192
	add
	fetch_i
	greater_equal
	branch_false L42005
L41978
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6393
	push_event	//  i0
	push_const 192
	add
	fetch_i
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_const 100
	func_call 55	//  func[Rand]
	shift_sp -1
	push_const 50
	greater
	branch_false L42000
L41979
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L41981
L41980
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8919.	"winnie_the_cat008.htm"
	push_string S8919
	func_call 84	//  func[FHTML_SetFileName]
	shift_sp -2
	shift_sp -1
	jump L41982
L41981
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8920.	"winnie_the_cat009.htm"
	push_string S8920
	func_call 84	//  func[FHTML_SetFileName]
	shift_sp -2
	shift_sp -1
L41982
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41986
L41983
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8921.	"event_level"
	push_string S8921
S8922.	"hyena"
	push_string S8922
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L41985
L41984
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8923.	"event_level2"
	push_string S8923
S8924.	"hyena"
	push_string S8924
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L41985
	jump L41999
L41986
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41990
L41987
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8925.	"event_level"
	push_string S8925
S8926.	"fox"
	push_string S8926
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L41989
L41988
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8927.	"event_level2"
	push_string S8927
S8928.	"fox"
	push_string S8928
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L41989
	jump L41998
L41990
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41994
L41991
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6402
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8929.	"event_level"
	push_string S8929
S8930.	"wolf"
	push_string S8930
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L41993
L41992
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8931.	"event_level2"
	push_string S8931
S8932.	"wolf"
	push_string S8932
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L41993
	jump L41997
L41994
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8933.	"event_level"
	push_string S8933
S8934.	"rabbit"
	push_string S8934
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L41996
L41995
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8935.	"event_level2"
	push_string S8935
S8936.	"rabbit"
	push_string S8936
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L41996
L41997
L41998
L41999
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
	func_call 88	//  func[ShowFHTML]
	shift_sp -2
	shift_sp -1
	jump L42004
L42000
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L42002
L42001
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8937.	"winnie_the_cat006.htm"
	push_string S8937
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L42003
L42002
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8938.	"winnie_the_cat007.htm"
	push_string S8938
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L42003
L42004
L42005
L42006
L42007
L42008
handler_end

class_end
itemdata
Code:
item_begin	questitem	6399	[badge_of_rabbit]	item_type=questitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=100	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	questitem	6400	[badge_of_hyena]	item_type=questitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=100	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	questitem	6401	[badge_of_fox]	item_type=questitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=100	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	questitem	6402	[badge_of_wolf]	item_type=questitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=100	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	6392	[event__medal]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	6393	[event__glittering_medal]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
npcdata
Code:
npc_begin	citizen	8228	[roy_the_cat]	level=70	exp=4296345xx.xx5	acquire_exp_rate=0.1	undying=1	can_be_attacked=0	acquire_sp=10	race=human	sex=female	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=80	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	slot_chest=[]	slot_rhand=[]	slot_lhand=[]	base_attack_type=fist	base_can_penetrate=0	base_attack_range=40	base_damage_range={0;0;80;120}	base_rand_dam=30	str=40	int=21	dex=30	wit=20	con=43	men=10	hp_increase=40	mp_increase=7	org_hp_regen=7.5	org_mp_regen=2.7	ground_low={80;0;10}	ground_high={120;-30;30}	underwater_low={50;0;10}	underwater_high={0;0;30}	fly_low={0;0;10}	fly_high={0;-30;30}	float_low={0;0;10}	float_high={0;-30;30}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=24xx.xx818899627	org_mp=1345.8	base_defend=2xx.xx597408024	base_magic_attack=4xx.xx4627426724	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx4851683855	physical_hit_modify=4.75	physical_avoid_modify=0	base_attack_speed=253	base_reuse_delay=0	base_critical=4	magic_use_speed_modify=0	status={normal}	align=0	collision_radius=9	collision_height=16	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[roy_the_cat];{[fnHi] = [eventmedal001.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
npc_begin	citizen	8229	[winnie_the_cat]	level=70	exp=4296345xx.xx5	acquire_exp_rate=0.1	undying=1	can_be_attacked=0	acquire_sp=10	race=human	sex=female	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=80	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	slot_chest=[]	slot_rhand=[]	slot_lhand=[]	base_attack_type=fist	base_can_penetrate=0	base_attack_range=40	base_damage_range={0;0;80;120}	base_rand_dam=30	str=40	int=21	dex=30	wit=20	con=43	men=10	hp_increase=40	mp_increase=7	org_hp_regen=7.5	org_mp_regen=2.7	ground_low={80;0;10}	ground_high={120;-30;30}	underwater_low={50;0;10}	underwater_high={0;0;30}	fly_low={0;0;10}	fly_high={0;-30;30}	float_low={0;0;10}	float_high={0;-30;30}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=24xx.xx818899627	org_mp=1345.8	base_defend=2xx.xx597408024	base_magic_attack=4xx.xx4627426724	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx4851683855	physical_hit_modify=4.75	physical_avoid_modify=0	base_attack_speed=253	base_reuse_delay=0	base_critical=4	magic_use_speed_modify=0	status={normal}	align=0	collision_radius=9	collision_height=16	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[winnie_the_cat];{[fnHi] = [winnie_the_cat001.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
multisell
Code:
MultiSell_begin	[event_medal_1]	21
selllist={{{[adv_quick_step_potion];1};{{[event__medal];5}}};
{{[adv_swift_attack_potion];1};{{[event__medal];10}}};
{{[potion_of_acumen3];1};{{[event__medal];10}}};
{{[quick_healing_potion];1};{{[event__medal];17}}}}
MultiSell_end

MultiSell_begin	[event_medal_2]	22
selllist={{{[adv_quick_step_potion];1};{{[event__medal];5}}};
{{[adv_swift_attack_potion];1};{{[event__medal];10}}};
{{[potion_of_acumen3];1};{{[event__medal];10}}};
{{[quick_healing_potion];1};{{[event__medal];17}}};
{{[blessed_scroll_of_escape];1};{{[event__medal];250}}};
{{[blessed_scroll_of_resurrection];1};{{[event__medal];667}}};
{{[scrl_of_ench_am_d];1};{{[event__medal];25}}};
{{[scrl_of_ench_wp_d];1};{{[event__medal];83}}}}
MultiSell_end

MultiSell_begin	[event_medal_3]	23
selllist={{{[adv_quick_step_potion];1};{{[event__medal];5}}};
{{[adv_swift_attack_potion];1};{{[event__medal];10}}};
{{[potion_of_acumen3];1};{{[event__medal];10}}};
{{[quick_healing_potion];1};{{[event__medal];17}}};
{{[blessed_scroll_of_escape];1};{{[event__medal];250}}};
{{[blessed_scroll_of_resurrection];1};{{[event__medal];667}}};
{{[scrl_of_ench_am_d];1};{{[event__medal];25}}};
{{[scrl_of_ench_wp_d];1};{{[event__medal];83}}};
{{[scrl_of_ench_am_c];1};{{[event__medal];67}}};
{{[scrl_of_ench_wp_c];1};{{[event__medal];183}}};
{{[scrl_of_ench_am_b];1};{{[event__medal];267}}};
{{[scrl_of_ench_wp_b];1};{{[event__medal];833}}}}
MultiSell_end

MultiSell_begin	[event_medal_4]	24
selllist={{{[adv_quick_step_potion];1};{{[event__medal];5}}};
{{[adv_swift_attack_potion];1};{{[event__medal];10}}};
{{[potion_of_acumen3];1};{{[event__medal];10}}};
{{[quick_healing_potion];1};{{[event__medal];17}}};
{{[blessed_scroll_of_escape];1};{{[event__medal];250}}};
{{[blessed_scroll_of_resurrection];1};{{[event__medal];667}}};
{{[scrl_of_ench_am_d];1};{{[event__medal];25}}};
{{[scrl_of_ench_wp_d];1};{{[event__medal];83}}};
{{[scrl_of_ench_am_c];1};{{[event__medal];67}}};
{{[scrl_of_ench_wp_c];1};{{[event__medal];183}}};
{{[scrl_of_ench_am_b];1};{{[event__medal];267}}};
{{[scrl_of_ench_wp_b];1};{{[event__medal];833}}};
{{[scrl_of_ench_am_a];1};{{[event__medal];833}}};
{{[scrl_of_ench_wp_a];1};{{[event__medal];3000}}};
{{[red_party_mask];1};{{[event__medal];833}}}}
MultiSell_end

MultiSell_begin	[event_medal_5]	25
selllist={{{[adv_quick_step_potion];1};{{[event__medal];5}}};
{{[adv_swift_attack_potion];1};{{[event__medal];10}}};
{{[potion_of_acumen3];1};{{[event__medal];10}}};
{{[quick_healing_potion];1};{{[event__medal];17}}};
{{[blessed_scroll_of_escape];1};{{[event__medal];250}}};
{{[blessed_scroll_of_resurrection];1};{{[event__medal];667}}};
{{[scrl_of_ench_am_d];1};{{[event__medal];25}}};
{{[scrl_of_ench_wp_d];1};{{[event__medal];83}}};
{{[scrl_of_ench_am_c];1};{{[event__medal];67}}};
{{[scrl_of_ench_wp_c];1};{{[event__medal];183}}};
{{[scrl_of_ench_am_b];1};{{[event__medal];267}}};
{{[scrl_of_ench_wp_b];1};{{[event__medal];833}}};
{{[scrl_of_ench_am_a];1};{{[event__medal];833}}};
{{[scrl_of_ench_wp_a];1};{{[event__medal];3000}}};
{{[red_party_mask];1};{{[event__medal];833}}};
{{[sealed_majestic_necklace];1};{{[event__medal];6240}}};
{{[sealed_majestic_earing];1};{{[event__medal];4680}}};
{{[sealed_majestic_ring];1};{{[event__medal];3120}}}}
MultiSell_end
item_pch
Code:
[event__medal]	=	6392
[event__glittering_medal]	=	6393
medal's drop manualy add to drop 8)
melco is offline