Jump to content
  • 0

[Help]Heal


Question

Posted

Hi se olous

An mporei kapios 8elw na m stilei ton kwdiko gia ton npc buffer na kanei heal [cp.hp.mp]exw psaxei polla alla dn vrika tpt...ston buffera m exw valei ayto

 

#MP-HP

if event == "71":

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4342,2),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

mono ayto exw vrei alla dn m gemizei to cp kai m kanei kai wind walk..

help me

 

2 answers to this question

Recommended Posts

  • 0
Posted

kanto kapos etc ...

 

                       #Full Heal
		if event == "71":
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(90001,1),False,False)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(90002,1),False,False)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(90003,1),False,False)
			return "1.htm"		
			st.setState(State.COMPLETED)

 

kai ftiakse sto fakelo data\stats\skills ena arxeio Heal.xml px.. kai kane c/p afta...

 

<?xml version='1.0' encoding='utf-8'?>
<list>
<skill id="90001" levels="1" name="Mega CP Heal">
 <set name="mpConsume" val="0"/>
 <set name="power" val="65535"/>
 <set name="target" val="TARGET_SELF"/>
 <set name="hitTime" val="1"/>
 <set name="reuseDelay" val="1"/>
 <set name="skillType" val="COMBATPOINTHEAL"/>
 <set name="isMagic" val="true"/>
 <set name="operateType" val="OP_ACTIVE"/>
 <set name="castRange" val="-1"/>
</skill>
<skill id="90002" levels="1" name="Mega HP Heal">
 <set name="mpConsume" val="0"/>
 <set name="power" val="65535"/>
 <set name="target" val="TARGET_SELF"/>
 <set name="reuseDelay" val="1"/>
 <set name="hitTime" val="1"/>
 <set name="skillType" val="HEAL"/>
 <set name="isMagic" val="true"/>
 <set name="operateType" val="OP_ACTIVE"/>
 <set name="castRange" val="-1"/>
</skill>
<skill id="90003" levels="1" name="Mega MP Heal">
 <set name="mpConsume" val="0"/>
 <set name="power" val="65535"/>
 <set name="target" val="TARGET_SELF"/>
 <set name="reuseDelay" val="1"/>
 <set name="hitTime" val="1"/>
 <set name="skillType" val="MANARECHARGE"/>
 <set name="isMagic" val="true"/>
 <set name="operateType" val="OP_ACTIVE"/>
 <set name="castRange" val="-1"/>
</skill>
</list>

  • 0
Posted

#MP-HP

if event == "71":

st.takeItems

st.getPlayer().setCurrentCp(st.getPlayer().getMaxCp())

                                st.getPlayer().setCurrentHp(st.getPlayer().getMaxHp())

                                st.getPlayer().setCurrentMp(st.getPlayer().getMaxMp())

return "1.htm"

st.setState(COMPLETED)

 

Εγώ έτσι το έχω φίλε

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...