Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 02.08.2007, 13:51   #8
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

Quote:
Originally Posted by FidoW View Post
Then start looking again because CreatePrivates works with strings and not with integers

Code:
void CNPC::CreatePrivates(WCHAR* privates);
Code:
class 1 party_leader_param_warrior : warrior
parameter_define_begin
	int AttackLowHP 0
	string Privates "orc:party_private:1:20sec"
	int ShoutTarget 0
	int SummonPrivateRate 0
parameter_define_end
handler 13 39	//  CREATED
	variable_begin
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_parameter SummonPrivateRate
	push_const 0
	equal
	branch_false L7720
L7719
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_parameter Privates
	func_call 184615141	//  func[CreatePrivates]
	shift_sp -1
	shift_sp -1
Sorry, didn't have my cheat sheet open at the time.
It's CreateOnePrivate

tks
khelben is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:33.