Npc Weapon Enchant

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Npc Weapon Enchant

Post by badboy29 »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:3718
L2JDP Revision Number:6773

Hello guys, been observing that in Gracia Epilogue is an option for enchants NPCs weapons, someone would have a patch for Gracia Final ? It would be nice :)
Aka UnHoly
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: Npc Weapon Enchant

Post by LasTravel »

I want the same, why this don't are on timeline?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Npc Weapon Enchant

Post by jurchiks »

maybe because GF is not updated anymore?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: Npc Weapon Enchant

Post by LasTravel »

But don't are on timeline for epilogue too
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Npc Weapon Enchant

Post by jurchiks »

applied during Epilogue update, the complete changelog is known only to devs methinks
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: Npc Weapon Enchant

Post by LasTravel »

Some dev can share it?
User avatar
denser
Posts: 1392
Joined: Wed May 30, 2007 9:13 pm
Location: Russia
Contact:

Re: Npc Weapon Enchant

Post by denser »

trace back in source where used config value ) try it - it can become a lvlup for you in coding :)
Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: Npc Weapon Enchant

Post by LasTravel »

denser wrote:trace back in source where used config value ) try it - it can become a lvlup for you in coding :)

Code: Select all

Index: java/com/l2jserver/Config.java===================================================================--- java/com/l2jserver/Config.java	(revision 3923)+++ java/com/l2jserver/Config.java	(working copy)@@ -670,7 +670,7 @@ 	public static boolean DEEPBLUE_DROP_RULES_RAID; 	public static boolean SHOW_NPC_LVL; 	public static boolean SHOW_CREST_WITHOUT_QUEST;+	public static boolean ENABLE_RANDOM_ENCHANT_EFFECT; 	public static int MIN_NPC_LVL_DMG_PENALTY; 	public static int MIN_NPC_LVL_MAGIC_PENALTY; 	public static boolean GUARD_ATTACK_AGGRO_MOB;@@ -1763,7 +1763,7 @@ 					DEEPBLUE_DROP_RULES_RAID = Boolean.parseBoolean(NPC.getProperty("UseDeepBlueDropRulesRaid", "True")); 					SHOW_NPC_LVL = Boolean.parseBoolean(NPC.getProperty("ShowNpcLevel", "False")); 					SHOW_CREST_WITHOUT_QUEST = Boolean.parseBoolean(NPC.getProperty("ShowCrestWithoutQuest", "False"));+					ENABLE_RANDOM_ENCHANT_EFFECT = Boolean.parseBoolean(NPC.getProperty("EnableRandomEnchantEffect", "False"));; 					MIN_NPC_LVL_DMG_PENALTY = Integer.parseInt(NPC.getProperty("MinNPCLevelForDmgPenalty", "78")); 					MIN_NPC_LVL_MAGIC_PENALTY = Integer.parseInt(NPC.getProperty("MinNPCLevelForMagicPenalty", "78")); 					ENABLE_DROP_VITALITY_HERBS = Boolean.parseBoolean(NPC.getProperty("EnableVitalityHerbs", "True"));Index: java/config/NPC.properties===================================================================--- java/config/NPC.properties	(revision 3923)+++ java/config/NPC.properties	(working copy)@@ -56,11 +56,11 @@ # Default: True EnableVitalityHerbs = True +# Custom random EnchantEffect+# All npcs with weapons get random weapon enchanted value+# Enchantment is only visual, range is 4-21+# Default: False+EnableRandomEnchantEffect = False
But, where is the rest? :)
User avatar
denser
Posts: 1392
Joined: Wed May 30, 2007 9:13 pm
Location: Russia
Contact:

Re: Npc Weapon Enchant

Post by denser »

Code: Select all

ENABLE_RANDOM_ENCHANT_EFFECT
now find this :) smth like: if (Config.ENABLE_RANDOM_ENCHANT_EFFECT)
Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
Post Reply