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

    • We've added 5% discounts for bulk purchases of Google accounts for orders of 300 or more, and 10% for orders of 500 or more. The discount is applied automatically when you place your order! The discount is indicated in the product title and description for each category.  
    • 🎄 CHRISTMAS EVENT 🎄   ‼️ Information and details: https://forum.l2harbor.com/threads/rozhdestvenskie-xlopoty-christmas-chores.9430/post-171464
    • METATG.ORG Direct Telegram Service Provider A bonus of +7% on every order! *We add 7% more followers than your ordered amount to proactively cover potential drops and guarantee you an honest result." Telegram Followers - Price per 1000 SUBSCRIBERS Subscribers 3 days - $0.10 ~ 8 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 7 days - $0.17 ~ 13.6 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 14 days - $0.20 ~ 16 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 30 days - $0.30 ~ 24 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 60 days - $0.40 ~ 32 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers 90 days (Super Fast) - $0.50 ~ 40 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers 120 days (Super Fast) - $0.60 ~ 48 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers Lifetime (Super Fast) - $0.70 ~ 56 RUB Lifetime Subscribers. 14-day guarantee. Daily Completion: 200,000,000 Telegram Services - Price per 1000 Post Views - $0.06 ~ 5 RUB Reactions - $0.08 ~ 6.5 RUB Bot Starts - $0.10 ~ 8 RUB Bot Starts with referrals - $0.15 ~ 12 RUB DISCOUNTS and CASHBACK for large volumes Direct Supplier. We work from our own accounts with our own software! High execution speed. Multiple payment methods. We work 24/7! Additional discounts are discussed for volumes starting from $1000 per day. SUPPORT 24/7 - TELEGRAM WEBSITE 24/7 - METATG.ORG
    • Added: a brand-new default dashboard template. You can now add multiple game/login server builds. Full support for running both PTS & L2J servers simultaneously, with switching between them. Payment systems: added OmegaPay and Pally (new PayPal-style API). Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account. Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.     Look demo site: demo
  • 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