We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

Masterwork items

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
tornado112
Posts: 3
Joined: Sat May 19, 2018 4:34 pm

Masterwork items

Post by tornado112 » Sat May 19, 2018 4:50 pm

I tried to find on forum, but i can't see anywhere, except some old posts,
Do any of you know where i can find a fix for masterwork items on gracia final pack?
They don't give any status, and i can't see anywhere in code skilll related to masterwork.

Amrod
Posts: 94
Joined: Wed May 04, 2011 9:12 am

Re: Masterwork items

Post by Amrod » Sun May 20, 2018 7:45 am

Hi Tornado

I am not sure if I understood you correctly but the masterwork items are nowhere hardcoded. They simply have another skill in their items XML file. This is something you can take out from master, can't you?

Code: Select all

<item id="6364" type="Weapon" name="Forgotten Blade">
		<set name="icon" val="icon.weapon_forgotten_blade_i00" />
		<set name="default_action" val="EQUIP" />
		<set name="weapon_type" val="SWORD" />
		<set name="bodypart" val="rhand" />
		<set name="random_damage" val="10" />
		<set name="attack_range" val="40" />
		<set name="damage_range" val="0;0;40;120" />
		<set name="immediate_effect" val="true" />
		<set name="crystal_count" val="2052" />
		<set name="crystal_type" val="S" />
		<set name="material" val="ADAMANTAITE" />
		<set name="weight" val="1300" />
		<set name="price" val="42759400" />
		<set name="change_weaponId" val="9364" />
		<set name="soulshots" val="1" />
		<set name="spiritshots" val="1" />
		<set name="element_enabled" val="true" />
		<set name="enchant_enabled" val="1" />
		<for>
			<set stat="pAtk" val="281" />
			<set stat="mAtk" val="132" />
			<set stat="critRate" val="8" />
			<set stat="pAtkSpd" val="379" />
			<enchant val="0" stat="pAtk" />
			<enchant val="0" stat="mAtk" />
		</for>
	</item>

Code: Select all

<item id="11235" type="Weapon" name="Forgotten Blade - Lightning">
		<set name="icon" val="icon.weapon_forgotten_blade_i00" />
		<set name="default_action" val="EQUIP" />
		<set name="weapon_type" val="SWORD" />
		<set name="bodypart" val="rhand" />
		<set name="random_damage" val="10" />
		<set name="attack_range" val="40" />
		<set name="damage_range" val="0;0;40;120" />
		<set name="immediate_effect" val="true" />
		<set name="crystal_count" val="2052" />
		<set name="crystal_type" val="S" />
		<set name="material" val="ADAMANTAITE" />
		<set name="weight" val="1300" />
		<set name="price" val="42759400" />
		<set name="change_weaponId" val="11206" />
		<set name="soulshots" val="1" />
		<set name="spiritshots" val="1" />
		<set name="element_enabled" val="true" />
		<set name="enchant_enabled" val="1" />
		<set name="item_skill" val="3828-1" />
		<for>
			<set stat="pAtk" val="281" />
			<set stat="mAtk" val="132" />
			<set stat="critRate" val="8" />
			<set stat="pAtkSpd" val="379" />
			<enchant val="0" stat="pAtk" />
			<enchant val="0" stat="mAtk" />
		</for>
	</item>

Code: Select all

<skill id="3828" levels="1" name="Sword of Critical Chance">
		<!-- CT2.5 retail confirmed -->
		<set name="icon" val="icon.skill1077" />
		<set name="magicLvl" val="70" />
		<set name="operateType" val="P" />
		<set name="targetType" val="SELF" />
		<for>
			<effect name="Buff">
				<add stat="critRate" val="54.4" />
			</effect>
		</for>
	</skill>

tornado112
Posts: 3
Joined: Sat May 19, 2018 4:34 pm

Re: Masterwork items

Post by tornado112 » Tue May 22, 2018 6:58 am

<skill id="3828" levels="1" name="Sword of Critical Chance">

Thank you.This was what i needed. On Gracia Final pack, all skills are empty ("TO_DO")
I took them from GE, in the end.

Post Reply