Jump to content
  • 0

Help Buffer


sokianos

Question

4 answers to this question

Recommended Posts

  • 0

Paidia exw mia Buffer alla den exei kati p 8elw p.x 8elw na valw list mage-fighter buff kai cancel kserei kaneis pws??

 

ine arketi fasaria tha se protina na alakseis buffer kai na valeis mia pou na ta exei idi.

 

edit: gia to heal gia paradigma tora...tha se mperdepsei sto lew ine ligo periploko,

 

prepei na valeis sta python arxia tis buffer s katarxas to katalilo event(periptosi)

me enan arithmo esto 120(na min iparxei). gia heal ine to eksis:

#Heal
if event == "120":
			st.takeItems(ADENA_ID,0)
			st.getPlayer().restoreHPMP()
			return "1.htm"		
			st.setState(COMPLETED)

 

Istera auto dn ftanei....gt sta html arxia dn tha to dixnei. ara anigoume ta html arxia tis bufffer kai prosthetoume:

 

<tr><td></td><td><button value="Heal" action="bypass -h Quest 9999_NPCBuffer 120" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr><br>

 

opou sto kokkino vazoume oti sto event. To diskolo ine sta python arxeia mi mperdeutis.

 

Mia epeksigisi sta python code pou prosthesame gia na ta katalaveis kalitera . as ksana paroume to code.

 

#Heal // ena aplo comment den exei noima

if event == "120": // edw pernoume periptosi kai leme an imaste stin periptosi 120

st.takeItems(ADENA_ID,0) //edw i buffer perni adena apo ton paikti sti sigkekrimeni periptosi 0

st.getPlayer().restoreHPMP() //entoli gia na ghemisei hp kai mp

return "1.htm" // edw se girizei stin arxi tis buffer

st.setState(COMPLETED) // edw telionei xrisimopoiontas to completed.oloklironete

Link to comment
Share on other sites

  • 0

ine arketi fasaria tha se protina na alakseis buffer kai na valeis mia pou na ta exei idi.

 

edit: gia to heal gia paradigma tora...tha se mperdepsei sto lew ine ligo periploko,

 

prepei na valeis sta python arxia tis buffer s katarxas to katalilo event(periptosi)

me enan arithmo esto 120(na min iparxei). gia heal ine to eksis:

#Heal
if event == "120":
			st.takeItems(ADENA_ID,0)
			st.getPlayer().restoreHPMP()
			return "1.htm"		
			st.setState(COMPLETED)

 

Istera auto dn ftanei....gt sta html arxia dn tha to dixnei. ara anigoume ta html arxia tis bufffer kai prosthetoume:

 

<tr><td></td><td><button value="Heal" action="bypass -h Quest 9999_NPCBuffer 120" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr><br>

 

opou sto kokkino vazoume oti sto event. To diskolo ine sta python arxeia mi mperdeutis.

 

Mia epeksigisi sta python code pou prosthesame gia na ta katalaveis kalitera . as ksana paroume to code.

 

#Heal // ena aplo comment den exei noima

if event == "120": // edw pernoume periptosi kai leme an imaste stin periptosi 120

st.takeItems(ADENA_ID,0) //edw i buffer perni adena apo ton paikti sti sigkekrimeni periptosi 0

st.getPlayer().restoreHPMP() //entoli gia na ghemisei hp kai mp

return "1.htm" // edw se girizei stin arxi tis buffer

st.setState(COMPLETED) // edw telionei xrisimopoiontas to completed.oloklironete

ty filee :D na se kalaa
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...