Jump to content
  • 0

Stats "mul" decrease


Question

Posted

I set for weapons B grade a mul with 25% p atk. I set <mul stat="pAtk" val="1.25" /> and my p atk decreased drastically. then, i change to <mul stat="pAtk" val="50" /> and p atk rised. What is that 1.25 and what is that 50 from mul? How i can set 25%? 

I replace line 
<set stat="pAtk" val="213" /> with <mul stat="pAtk" val="50" />

Why doesn;t work 1.25 as 25%?

Recommended Posts

  • 0
Posted
4 hours ago, 0flee said:

I set for weapons B grade a mul with 25% p atk. I set <mul stat="pAtk" val="1.25" /> and my p atk decreased drastically. then, i change to <mul stat="pAtk" val="50" /> and p atk rised. What is that 1.25 and what is that 50 from mul? How i can set 25%? 

I replace line 
<set stat="pAtk" val="213" /> with <mul stat="pAtk" val="50" />

Why doesn;t work 1.25 as 25%?

 

  • 0
Posted

Yes, i put as i say in post 1.25, but i have status decreased. I don't have 25% i think i have -25%

i want to add on Item 25%, not on skill

  • 0
Posted
46 minutes ago, 0flee said:

Yes, i put as i say in post 1.25, but i have status decreased. I don't have 25% i think i have -25%

i want to add on Item 25%, not on skill

<add order="0x40" stat="pAtk" val="25" />  check this and tell me 

  • 0
Posted
[09:43:21] WARN: Cannot create item 9311
java.lang.NumberFormatException: For input string: "0x40"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.parseInt(Integer.java:615)
        at l2r.gameserver.engines.DocumentBase.attachFunc(DocumentBase.java:250)
        at l2r.gameserver.engines.DocumentBase.parseTemplate(DocumentBase.java:237)
        at l2r.gameserver.engines.items.DocumentItem.parseItem(DocumentItem.java:132)
        at l2r.gameserver.engines.items.DocumentItem.parseDocument(DocumentItem.java:83)
        at l2r.gameserver.engines.DocumentBase.parse(DocumentBase.java:156)
        at l2r.gameserver.engines.DocumentEngine.loadItems(DocumentEngine.java:126)
        at l2r.gameserver.data.xml.impl.ItemData.load(ItemData.java:128)
        at l2r.gameserver.data.xml.impl.ItemData.reload(ItemData.java:382)
        at handlers.admincommandhandlers.AdminReload.useAdminCommand(AdminReload.java:183)
        at l2r.gameserver.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
        at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

 

I can put any "order" on item status.

  • 0
Posted

0x30 is for mul - 1.1 = 10%, 0.9 = -10%

0x40 is for diff

0x10 is for base stats

 

If you want to add extra stats for an item, create a passive skill as SA, don't do it straight on the item.

  • 0
Posted (edited)
9 hours ago, 0flee said:

I set for weapons B grade a mul with 25% p atk. I set <mul stat="pAtk" val="1.25" /> and my p atk decreased drastically. then, i change to <mul stat="pAtk" val="50" /> and p atk rised. What is that 1.25 and what is that 50 from mul? How i can set 25%? 

I replace line 
<set stat="pAtk" val="213" /> with <mul stat="pAtk" val="50" />

Why doesn;t work 1.25 as 25%?

@MairHost is right .. he send you the full stats in first comment .. you have to give the order 

like :     <mul val='1.10' order='0x10' stat='mAtk'/> (for 1% m atk) or   <mul order="0x30" stat="mAtkSpd" val="1.15"/>(for 15% casting speed with different order)

Edited by scraw
  • 0
Posted

You are right. But if i put 0x30, i get error in gameserver. I post error

[11:53:38] WARN: Cannot create item 4724
java.lang.NumberFormatException: For input string: "0x10"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.parseInt(Integer.java:615)
        at l2r.gameserver.engines.DocumentBase.attachFunc(DocumentBase.java:250)
        at l2r.gameserver.engines.DocumentBase.parseTemplate(DocumentBase.java:237)
        at l2r.gameserver.engines.items.DocumentItem.parseItem(DocumentItem.java:132)
        at l2r.gameserver.engines.items.DocumentItem.parseDocument(DocumentItem.java:83)
        at l2r.gameserver.engines.DocumentBase.parse(DocumentBase.java:156)
        at l2r.gameserver.engines.DocumentEngine.loadItems(DocumentEngine.java:126)
        at l2r.gameserver.data.xml.impl.ItemData.load(ItemData.java:128)
        at l2r.gameserver.data.xml.impl.ItemData.reload(ItemData.java:382)
        at handlers.admincommandhandlers.AdminReload.useAdminCommand(AdminReload.java:183)
        at l2r.gameserver.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
        at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

with

<mul val="1.10" order="0x10" stat="mAtk" />

  • 0
Posted (edited)
2 minutes ago, 0flee said:

You are right. But if i put 0x30, i get error in gameserver. I post error

i see error for 0x40 which is unused .its only for diff as @Trance said..

 

paste that ..

 

      <mul order="0x30" stat="pAtk" val="1.15"/>

Edited by scraw
  • 0
Posted

any 0x give errors. I can leave just numbers.  L2j-Sunrise high five pack i use

[11:55:51] WARN: Cannot create item 4724
java.lang.NumberFormatException: For input string: "0x30"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.parseInt(Integer.java:615)
        at l2r.gameserver.engines.DocumentBase.attachFunc(DocumentBase.java:250)
        at l2r.gameserver.engines.DocumentBase.parseTemplate(DocumentBase.java:237)
        at l2r.gameserver.engines.items.DocumentItem.parseItem(DocumentItem.java:132)
        at l2r.gameserver.engines.items.DocumentItem.parseDocument(DocumentItem.java:83)
        at l2r.gameserver.engines.DocumentBase.parse(DocumentBase.java:156)
        at l2r.gameserver.engines.DocumentEngine.loadItems(DocumentEngine.java:126)
        at l2r.gameserver.data.xml.impl.ItemData.load(ItemData.java:128)
        at l2r.gameserver.data.xml.impl.ItemData.reload(ItemData.java:382)
        at handlers.admincommandhandlers.AdminReload.useAdminCommand(AdminReload.java:183)
        at l2r.gameserver.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
        at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

with

 

<mul order="0x30" stat="mAtkSpd" val="1.15"/>

  • 0
Posted
2 minutes ago, 0flee said:

any 0x give errors. I can leave just numbers.  L2j-Sunrise high five pack i use


[11:55:51] WARN: Cannot create item 4724
java.lang.NumberFormatException: For input string: "0x30"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.parseInt(Integer.java:615)
        at l2r.gameserver.engines.DocumentBase.attachFunc(DocumentBase.java:250)
        at l2r.gameserver.engines.DocumentBase.parseTemplate(DocumentBase.java:237)
        at l2r.gameserver.engines.items.DocumentItem.parseItem(DocumentItem.java:132)
        at l2r.gameserver.engines.items.DocumentItem.parseDocument(DocumentItem.java:83)
        at l2r.gameserver.engines.DocumentBase.parse(DocumentBase.java:156)
        at l2r.gameserver.engines.DocumentEngine.loadItems(DocumentEngine.java:126)
        at l2r.gameserver.data.xml.impl.ItemData.load(ItemData.java:128)
        at l2r.gameserver.data.xml.impl.ItemData.reload(ItemData.java:382)
        at handlers.admincommandhandlers.AdminReload.useAdminCommand(AdminReload.java:183)
        at l2r.gameserver.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
        at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

with

 

<mul order="0x30" stat="mAtkSpd" val="1.15"/>

open your skills.xml and find one order with <mul ....(blablabla) and see how it is wroted ..

  • 0
Posted

I want to add this on Item direct item. Not on skills. Tell me then. Why direct item edit add

<mul stat="pvePhysDmg" val="1.05" /> as 5% and for p atk don't? This is correct syntax. But i think for p atk doesn;t work. 

I want to add for Weapons B/A/S more p atk than normal. But that mul don't add 1.05 as 5%

  • 0
Posted (edited)
4 minutes ago, 0flee said:

I want to add this on Item direct item. Not on skills. Tell me then. Why direct item edit add

<mul stat="pvePhysDmg" val="1.05" /> as 5% and for p atk don't? This is correct syntax. But i think for p atk doesn;t work. 

ofc it work..find how is it typed the pAtk ..maybe its wroted P.atk or idk ..search the stat name of patk 

Edited by scraw
  • 0
Posted

If i add <mul stat="pAtk" val="1.05" /> P atk is decreased. And it's decreased drastically.

StatFunction.java

ADD("Add", 30),
	DIV("Div", 20),
	ENCHANT("Enchant", 0),
	ENCHANTHP("EnchantHp", 40),
	MUL("Mul", 20),
	SET("Set", 0),
	SHARE("Share", 30),
	SUB("Sub", 30),
	BASEMUL("BaseMul", 20),;

 

OK, the problem isn't that syntax. the problem it is weapons for specific class. Where i can see that? How i can edit weapons for a specific class?

  • 0
Posted (edited)

Don't do the mistake to add bonus stats to the item lol. Your players will have bugged stats and will require character restart to fix it. You got passives for a reason. Stop doing that people!

Edited by Trance

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


  • Posts

    • When you say bots allowed, it means we are allowed to use adrenaline ?
    • https://l2mayhem.ru/   The Mayhem Server is designed for players who want to enjoy the game without unnecessary stress or steep barriers. We focus on a comfortable gaming experience: the mechanics are adapted so that even newcomers can get up to speed quickly, while veterans will be happy to return to the beloved universe. On the server, character progression and content difficulty are well balanced: your character develops steadily, without the need to spend huge amounts of time on repetitive tasks. For players’ convenience, we’ve implemented autofarm - it lets you complete daily tasks efficiently. Moreover, bots are officially allowed on the server: they help automate routine actions, so you can focus on the most exciting parts of the game - sieges, PvP, clan wars, and crafting. The server’s atmosphere is friendly: the active community is always ready to offer advice, and the administration ensures order and fairness. Whether you’re looking for a relaxed leveling and world‑exploration experience or want to take part in intense events, everyone can find their own pace and playstyle here. Right now, the server features new activities: we’ve added new instances and locations with unique mechanics and rewards, as well as rare items that can only be obtained in these zones. This is a great chance to get powerful gear and stand out among other players.   Rates: - Grind: EXP/SP x3 (Raid Bosses: x3). - Loot: Drop/Spoil/Adena x3; Raid/Epic Raid drops x3. - Quests: All rewards x1.   Gameplay: - Accounts are created automatically. - Mammons is located in the Town of Giran. - Each character has access to the unlimited Auto Farm function. - Mass party functions activated by the party leader. - A pre-installed shortcut panel is provided for each new character. - The full list of chat commands is available on the Community Board. - Players have a x25 weight limit and an increased inventory capacity. - All buffs, dances, and songs last for 2 hours. - Spawn protection lasts 10 seconds after teleporting. - Treasure Chests have been removed from spawns. - Cursed Weapons have been removed from drops. - Common items can no longer be purchased or obtained as drops. - Mobs and Raid Bosses no longer use Cancel skill. - Equipment up to the Dynasty can be purchased with adena. - Shots up to S grade and consumables are available in the Community Board. - Offline shops are supported: simply set up a shop and type the .offline command in chat. - No drop penalty on Raid Bosses unless the player is over 5 levels higher than the boss; otherwise, the drop chance is reduced. - Mana Potions restore 1500 MP and have a 10‑second reuse time. Newbie Mana Potions restore 500 MP. - The Vitality, Nevit, and Recommendations systems have been disabled. - The store now offers a lower buy price for player‑sold items. - NPC Victor visits Town of Giran on Wednesdays and Saturdays for gear/doll upgrades and elemental exchange. - Once you hit level 40, every mob can drop one of three medals: Bronze, Silver, or Gold.   Premium: - +35% to EXP/SP, Adena, Seal Stones, Element Stones, and Epaulette drops. - Buffs, dances, and songs last 3 hours. - With Premium, players can get 3‑hour buffs by purchasing them from other players.   Enchanting: - The chance to successfully enchant gear is 65%. Safe enchantment is up to +3; the maximum enchant level is +20. - Elemental Stones: 50% chance. Elemental Crystals: 30% chance.   Skills: - Auto‑learn all skills and Forgotten Skills. - 30 buff slots, 12 Dance/Song slots. - Subclass max level raised to 85.   Quests: - 25 000 Adena is required to obtain the 1st class; 250 000 Adena for the 2nd class; 10 000 000 Adena for the 3rd class. - The subclass quest is not required. - The Freya quest is not required. - The Hard Freya quest is not required. - Access to Frintezza is granted only after completing the quest or upon having the purchased quest item. - Access to Baium is granted only after completing the quest or upon having the purchased quest item. - Access to Antharas is granted only after completing the quest or upon having the purchased quest item. - Access to Valakas is granted only after completing the quest or upon having the purchased quest item. - Hellbound progression is at level 1.   Olympiad: - Olympiads are held monthly. - Enchantment limit is +6. - Starting Olympiad requires 6 characters. - You need 15 battles to receive a reward. - Only non‑class battles are available.   Sieges/Territory Wars: - Flags are returned to their owners at the start of each Territory War, which occurs every 2 weeks. - A clan’s maximum number of captured flags in TW is 3.   Raid Bosses/Epic Bosses/Instance Features: - RB status is available on the Community Board. - Freya - 6-27 chars to enter. - Hard Freya - 6-27 chars to enter. - Frintezza - 6-45 chars to enter. - Ultra Daytime Zaken - 6-9 chars to enter. - Daytime Zaken - 6-9 chars to enter. - Nightly Zaken - 6-450 chars to enter. - Tiat - 9-45 chars to enter. - Beleth - 9 chars to enter. - Day/night restrictions for all Zaken instances have been removed. - Level‑limited zones: Ant Nest (levels 1–45), Sea of Spores (levels 1–56), Core (levels 1–56). - Almost all Raid Bosses listed in the Community Board drop an Enchanting Box with a 100% chance. - New Raid Bosses and their jewelry have been added. Teleport to these bosses via NPC Mirelle in Town of Giran. - New Instances: dolls, timed epic jewelry, and upgrade item for cloaks, bracelets, and accessories. Enter via NPC Ancient Portal in Town of Giran; 6-9 chars to enter.
    • Estou procurando cloacks do classic adaptadas para cliente interlude.
    • 10 Raid Bosses. PvP every 3 hours. Zero donations.   Welcome to L2 Empire. Interlude. x1000. Pure PvP. No donation shop. Not even "cosmetics only". Nothing. Everything in this game drops, gets farmed, or gets taken from someone else. Before we open the gates, we want real players to try to break it.   ⚔️ WHAT'S WAITING FOR YOU - Level 80 from the start, gear from the Starter Voucher, free buffs - Soulshots, spiritshots and potions: free, forever - 10 Raid Bosses on a fixed schedule, 4 arenas, everyone around them flagged - PvP Zone every 3 hours, Team vs Team, 1v1 Tournament, Olympiad, Sieges - Revenge: someone killed you? Get him within 10 minutes for double coins - Solo Dungeon, Player Market, weekly rankings, Hall of Fame - Our own anti cheat. One client per PC. Bots get nothing but a ban.   📡 A DISCORD CONNECTED TO THE GAME Our Discord is not just a chat. It lives with the server: - Live Raid Boss board: which boss is up, where, and when the next one comes - Every event on a countdown, shown in YOUR own time zone - Kill streaks, raid kills and weekly rankings posted live from the game - Link your character and get your PvP rank as a Discord role - The weekly PvP King, crowned on Discord - Your own stats with one command - Support tickets in English, Greek, Spanish and Portuguese - Development updates and sneak peeks before anyone else   🛠️ WHY WE NEED YOU The server is still being built, and we won't pretend otherwise. We want the bugs found now, not on launch night. We want clan leaders to tell us what their clan needs. We want to hear what you always hated on other servers, so it's not here.   🎖️ WHAT YOU GET Every tester gets an exclusive Beta Hero armor skin, forever. Keep the stats of your own armor, wear the look nobody else can ever get. You'll be the ones everyone recognizes as the first of L2 Empire.   👉 JOIN US: https://discord.gg/kQjk9md7fX Testers are picked on the Discord. See you in Giran. L2 Empire
  • Topics

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