Jump to content
  • 0

[Help] I need some help :)


Question

5 answers to this question

Recommended Posts

  • 0
Posted

[ENG]

C:\server\gameserver\data\stats\skills.

Create a new XML file with name 9900-9999.

<?xml version="1.0" encoding="UTF-8"?>
<list>
<skill id="9950" levels="1" name="Cancellation">
 <table name="#mpConsume_Init"> 0 </table>
 <table name="#mpConsume"> 0 </table>
 <table name="#magicLvl"> 99 </table>
 <set name="mpInitialConsume" val="#mpConsume_Init"/>
 <set name="mpConsume" val="#mpConsume"/>
 <set name="magicLvl" val="#magicLvl"/>
 <set name="power" val="999"/>
 <set name="target" val="TARGET_SELF"/>
 <set name="hitTime" val="1"/>
 <set name="reuseDelay" val="1"/>
 <set name="skillTime" val="1"/>
 <set name="skillType" val="CANCEL"/>
 <set name="isMagic" val="true"/>
 <set name="operateType" val="OP_ACTIVE"/>
 <set name="skill_landing_percent" val="100"/>
 <set name="castRange" val="600"/>
 <set name="effectRange" val="1100"/>
 <set name="negateStats" val="BUFF"/>
 <set name="negatePower" val="99.0"/>
 <for>
 </for>
</skill>
</list>

 

Add this in it.

Then go to C:\server\gameserver\data\jscript\custom\9999_NPCBuffer (or the other name of the buffer's folder, if it's not 9999_NPCBuffer)

Find __init__.py. This is where are your buffs. Add:

#Cancellation
		if event == "X":
			st.takeItems
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9950,1),False,False)
			st.getPlayer().restoreHPMP()
			return "1.htm"
			st.setState(COMPLETED)

 

And you're done.

P.S.: Don't c/p the last code, you must enter a valid event value.

 

EDIT: Somebody transfer this topic to english section.

  • 0
Posted

and i want anti buffs...

 

I suppose that you mean the option "Cancel Buffs" at the Buffer.

Before posting check a lil bit above -.-

 

http://www.maxcheaters.com/forum/index.php?topic=78673.msg607846#msg607846

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..