Jump to content
  • 0

[HELP] Mana Potions


Question

Posted

Γεια σας παιδιά,

Θέλω να ανοίξω έναν Gracia partII server και χρησιμοποιώ precompiled pack τις l2j και θέλω να προσθέσω τα mana potions, όλοι γνωρίζετε πως από ένα σημείο και πέρα ο official έβγαλε τα mana potion και ο μόνος τρόπος να τα προσθέσεις είναι μέσα από κάποια βήματα και με βοήθεια του eclipse. Επειδή εγώ δεν είμαι γνώστης αυτής τις διαδικασίας μπορεί κάποιος να μου ετοιμάσει ή να βρει ένα έτοιμο l2jserver.jar αρχείο ?

 

 

 

Ευχάριστώ εκ τον προτέρων...

6 answers to this question

Recommended Posts

  • 0
Posted

File mou,ta mana potions uparxoun hdh ara dn xreiazete na ta pros8eseis apla kane //create_item 728.

Dokimase to kai pes mas.

 

 

Den yparxoun sto l2j O.O

 

@Masterlam: Mou edwses idea :P w8 pao na to psakso kai tha kano to post...btw pare mia idea ;)

 

Index: java/net/sf/l2j/gameserver/handler/itemhandlers/Potions.java
===================================================================
--- java/net/sf/l2j/gameserver/handler/itemhandlers/Potions.java	(revision 1915)
+++ java/net/sf/l2j/gameserver/handler/itemhandlers/Potions.java	(working copy)
@@ -115,6 +122,13 @@

		switch(itemId)
		{
+            		// MANA POTIONS 
+			case 726: // mana drug, xml: 2003 
+				res = usePotion(activeChar, 2003, 1); // configurable through xml 
+				break; 
+			case 728: // mana_potion, xml: 2005 
+				res = usePotion(activeChar, 2005, 1); 
+				break;
			// HEALING AND SPEED POTIONS
			case 65: // red_potion, xml: 2001
				res = usePotion(activeChar, 2001, 1);

 

Datapack Side:

 

Index:data/stats/skills/2000-2099.xml
===================================================================
--- data/stats/skills/2000-2099.xml	(revision 4397)
+++ data/stats/skills/2000-2099.xml	(working copy)
@@ -27,32 +27,41 @@
   </for>
</skill>
<skill id="2003" levels="1" name="Squash Seed">
-  <!-- Summer Squash Event Skill (http://www.lineage2.com/archive/2006/11/fall_harvest.html) -->
   <set name="power" val="0.0"/>
   <set name="target" val="TARGET_SELF"/>
-  <set name="skillType" val="NOTDONE"/>
-  <set name="operateType" val="OP_PASSIVE"/>
+  <set name="hitTime" val="1500"/>
+  <set name="skillType" val="MPHOT"/>
+  <set name="operateType" val="OP_ACTIVE"/>
   <set name="castRange" val="-1"/>
+  <set name="effectRange" val="-1"/>
+  <set name="buffDuration" val="20000"/>
+  <set name="isPotion" val="true"/>
   <for>
+	  <effect count="4" name="ManaHealOverTime" time="5" val="1.5" stackOrder="1.5" stackType="MpRecover"/>
   </for>
</skill>
<skill id="2004" levels="1" name="Large Squash Seed">
-  <!-- Summer Squash Event Skill (http://www.lineage2.com/archive/2006/11/fall_harvest.html) -->
   <set name="power" val="0.0"/>
   <set name="target" val="TARGET_SELF"/>
-  <set name="skillType" val="NOTDONE"/>
-  <set name="operateType" val="OP_PASSIVE"/>
+  <set name="skillType" val="MPHOT"/>
+  <set name="operateType" val="OP_ACTIVE"/>
   <set name="castRange" val="-1"/>
+  <set name="effectRange" val="-1"/>
+  <set name="buffDuration" val="40000"/>
+  <set name="isPotion" val="true"/>
   <for>
+    <effect count="4" name="ManaHealOverTime" time="10" val="1.5" stackOrder="1.5" stackType="MpRecover"/>
   </for>
</skill>
<skill id="2005" levels="1" name="Pollen">
-  <!-- Summer Squash Event Skill (http://www.lineage2.com/archive/2006/11/fall_harvest.html) -->
-  <set name="power" val="0.0"/>
+  <set name="power" val="200.0"/>
   <set name="target" val="TARGET_SELF"/>
-  <set name="skillType" val="NOTDONE"/>
-  <set name="operateType" val="OP_PASSIVE"/>
+  <set name="skillType" val="MANAHEAL"/>
+  <set name="operateType" val="OP_ACTIVE"/>
   <set name="castRange" val="-1"/>
+  <set name="effectRange" val="-1"/>
+  <set name="buffDuration" val="15000"/>
+  <set name="isPotion" val="true"/>
   <for>
   </for>
</skill>

 

;)

 

p.s:w8 na to kano compile :)

  • 0
Posted

Φιλε μου RobZombie στο client μέσα υπάρχει το icon γενικά το mana potion, εφόσον δεν το διαβάζει η db είναι σαν να μην υπάρχει είναι απλά μια εικόνα που δεν κάνει τίποτα.

και φιλε μου Cobra ευχάριστο για τον code αλλα δεν μου είναι χρήσιμος στην μορφή στην οποια μου τον έδωσες γιατί θέλει να το patcharo κατά κάποιο τρόπο πράγμα που δεν γνωρίζω όπως προ ανέφερα, εάν θα μπορούσατε να μου το δώσετε όπως το ζήτησα θα ήταν ότι καλύτερο.

  • 0
Posted

και φιλε μου Cobra ευχάριστο για τον code αλλα δη μου είναι χρήσιμος στην μορφή στην οποια μου τον έδωσες γιατί θέλει να το patcharo κατά κάποιο τρόπο πράγμα που δεν γνωρίζω όπως προ ανέφερα, εάν θα μπορούσατε να μου το δώσετε όπως το ζήτησα θα ήταν ότι καλύτερο.

 

Lipon eisai etoimos  ;) http://www.4shared.com/file/80907204/3c2ee0c6/l2j-core.html otan t kaneis unzip tha deis oti einai to core tou l2j kai tha to antikatastiseis me to allo :)

 

Twra gia na af3iseis i na mioseis posa mana potio na mpenoune pas gameserver/data/stats/skills/2000-2099.xml

 

kai tha vreis to pollen  to power einai posa mana potion prp na mpoune!!

 

<!-- Summer Squash Event Skill (http://www.lineage2.com/archive/2006/11/fall_harvest.html) -->

-  <set name="power" val="200.0"/>  <<--- posa mana thes na mpoune

-  <set name="target" val="TARGET_SELF"/>  << target self

-  <set name="skillType" val="MANAHEAL"/>  << skilll type mana heal opos to exw grapsei

-  <set name="operateType" val="OP_PASSIVE"/>

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

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

+  <set name="buffDuration" val="15000"/>

+  <set name="isPotion" val="true"/>  << ayto true

   <for>

   </for>

</skill>

 

Ayta  :D

 

 

  • 0
Posted

Φιλε δουλεύει μια χαρά ευχάριστώ ...

 

Tpt edw eimaste gia na voythame oso mporoume :)

 

p.s: Kapios mod lock to topic to provlima lithike.

Guest
This topic is now closed to further replies.


  • Posts

    • That domainn tho :_D
    • Perfect way to experience L2 without the brutal official grind. The progression here is so much smoother and faster, you get to the fun PvP and epic raids way quicker. The custom stuff keeps it fresh too. Definitely worth diving into!
    • L2-Getwork server highly customized with high-stats https://l2server.eu/ https://discord.gg/SsVhm7R Rates: L2 High Five fully customized Getwork Style with High Stats and Enchant ExP/Sp: 75x (custom) Drop/Spoil: 1x (custom) Safe: 500 Max: 50 000   Enchant System: Normal Scrolls: 93% - fail - decrease enchant by 20 Blessed Scrolls: 96% - fail - decrease enchant by 10   Armor Max Enchant D-Grade: +1000 Max Enchant C-Grade: +2000 Max Enchant B-Grade: +3000 Max Enchant A-Grade: +4000 Max Enchant S-Grade: +5000   Weapons Max Enchant D-Grade: +5000 Max Enchant C-Grade: +10000 Max Enchant B-Grade: +15000 Max Enchant A-Grade: +20000 Max Enchant S-Grade: +25000 - 50000   Fir Tree Branch (Weapon): +100 into Weapons (max 50 000) Fir Tree Branch (Armor): +15 into Armor (max 5000) Road to Dvc Cloak Enchant: +1 into cloak (max +1000) Masks of Spirit/Demon Horns Enchants: +1 into Masks (max +10) Each accessories has different max enchant and chances Daily Missions (.missions) Collections (ALT + B) Gambling System(.gamble) - each pack cost different amount Gamble Points, different items How to get gambling points? - by killing Raid Bosses/Events or Completing Daily Missions. Clan Bonus VIP Bonuses (maximum level 10) Battlepass (maximum level 100) - by killing monsters Rebirth (starting in Parnassus) Everything in ALT+B Master's Buffs - 100 Small Glass Box (1 buff) Farm Zones: Custom Farm Zones: Ruin of Agony (Exp Zone) Underground Coliseum (Safe Exp Zone) DVC,Brigand,Frost are similiar farm zones with same monsters Dvc Brigand Stronghold Frost Lake Parnassus - TOP ZONE some of our features: .gamble,collections,battlepass,talent tree, rebirth        
    • https://www.mediafire.com/file/l905r1sd84hnovf/FileEdit.rar/file
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock