Jump to content

Recommended Posts

Posted

geia sas tha ithela n rotiso pos allazo ta minute ton buff px ena bff opos dance's n kratane gia 2 ores etc.. episis pos kano add skill's s ena buffer vasika thelo n valo cancel. euxaristo ek ton proteron

Posted

1) Gia ta buffs des edw

 

<skill id="310" levels="1" name="Dance of the Vampire" enchantLevels1="30" enchantLevels2="30" >

  <table name="#enchantMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 82 83 83 83 84 84 85 85 85 </table>

  <enchant1 name="magicLvl" val="#enchantMagicLvl"/>

  <enchant2 name="magicLvl" val="#enchantMagicLvl"/>

  <table name="#ench1time">

  125 131 136 142 147 153 158 164 169 175

  180 186 191 197 202 208 213 219 224 230

  235 241 246 252 257 263 268 274 279 285

  </table>

  <table name="#buffDuration">

  125000 131000 136000 142000 147000 153000 158000 164000 169000 175000

  180000 186000 191000 197000 202000 208000 213000 219000 224000 230000

  235000 241000 246000 252000 257000 263000 268000 274000 279000 285000

  </table>

  <table name="#ench2MpConsume">

  58 57 56 55 53 52 51 50 48 47

  46 45 43 42 41 40 39 37 36 35

  34 32 31 30 29 27 26 25 24 22

  </table>

  <set name="weaponsAllowed" val="512"/>

  <set name="mpConsume" val="60"/>

  <set name="nextDanceCost" val="30"/>

  <set name="power" val="0.0"/>

  <set name="target" val="TARGET_PARTY"/>

  <set name="skillRadius" val="1000"/>

  <set name="hitTime" val="2500"/>

  <set name="reuseDelay" val="10000"/>

  <set name="skillTime" val="2500"/>

  <set name="skillType" val="BUFF"/>

  <set name="isDance" val="true"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="buffDuration" val="120000"/>

  <set name="castRange" val="-1"/>

  <set name="effectRange" val="-1"/>

  <set name="aggroPoints" val="655"/>

  <enchant1 name="buffDuration" val="#buffDuration"/>

  <enchant2 name="mpConsume" val="#ench2MpConsume"/>

  <for>

    <effect name="Buff" time="120000" count="1" val="0"> <----- Allazeis to 120000 se osa seconds thes ! oti allazeis mpenei se seconds! oxi se mins ! egw to exw 120000 gia 3 hours !

      <add stat="absorbDam" val="8" order="0x40"/>

    </effect>

  </for>

  <enchant1for>

    <effect name="Buff" time="#ench1time" count="1" val="0">

      <add stat="absorbDam" val="8" order="0x40"/>

    </effect>

  </enchant1for>

</skill>

 

k ola auta ta allazeis apo gameserver/data/stats/skills efoson ksereis to ID tou skill p 8es na allakseis to time !

 

2) pas gameserver/data/jscript i script ( auto paei analogws to pack s! ) k meta pas 9999_NPCBuffer ( to 9999 einai gia enan buff ... mporei o dikos s na exei 899 w/e) anoigies to __init__.py k katw katw meta to last buff pou sou exei bazeis auto

 

                        #cancelbuff

if event == "86": <--- to 86 to allazeis ws pros to last buff ... p.x to last buff exei id 50 .. edw 8a baleis 51 !

st.takeItems(ADENA_ID,0)

SkillTable.getInstance().getInfo(4094,12).getEffects(st.getPlayer(),st.getPlayer())

st.getPlayer().stopAllEffects()

return "1.htm"

st.setState(State.COMPLETED)

 

k meta ftiaxneis to htm tou buffer ws pros ta alla k bazeis gia ID p.x to 51 k 8a s kanei cancel  !

Posted

File prepei na ksereis to Id tou buff pas p.x gia to super haste p einai 7029 anoigeis to 7029.xml k psaxneis gia auto p s deixnw epanw ! to time

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
Reply to this topic...

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