• 0

# Help Stats "mul" decrease

## Question

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
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%?

##### Share on other sites

• 0

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

##### Share on other sites

• 0
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

##### Share on other sites

• 0
```[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.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)

I can put any "order" on item status.

##### Share on other sites

• 0

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.

##### Share on other sites

• 0

Yea, i must leave item default. And greate separate skill passive.

##### Share on other sites

• 0
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
##### Share on other sites

• 0

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.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)

with

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

##### Share on other sites

• 0
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
##### Share on other sites

• 0

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.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)

with

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

##### Share on other sites

• 0
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.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)

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

##### Share on other sites

• 0

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%

##### Share on other sites

• 0
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
##### Share on other sites

• 0

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?

##### Share on other sites

• 0

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

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×

• ### Posts

• nice work! if you are interested in discussing about a collab so you can add blockchain support send me a pm
• @unsimple     Seems like another 6 months? What is wrong with you? Baylee paid for the website, so you are in charge of finishing it, no matter what!   And I thought the website is finished? Or what "process" we talk about? If website is finished, then there shouldn't be a "process" anymore no? So you just lied once again.   Threatening customers, such a professional studio holy shit.