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

    • the problem isnt the tech, its what you build on top of it. running a live server on a closed binary you didnt compile is risky by default. you cant audit it, you cant patch it, and when something breaks you dont have the source to know why.   the usual “but everyone uses the ncsoft client” is exactly the point. that binary isnt safe because its third party, its safe DESPITE being third party, for one reason only: 20 years of thousands of ppl tearing it apart byte by byte. whole protocol is documented, no surprises left. if it had anything weird in it we would have found it a decade ago.   this client is the opposite. its a fresh binary that a couple ppl looked at for a few days. and who made it matters. ncsoft is a dead corp that couldnt care less about your private server. this one is from a project thats alive, from someone who most likely doesnt want his client running someone elses server. im not saying it has anything in it. im saying you cant audit it and the author is not a neutral party. add that this same thread shows it gets reversed in days, so it gives you zero protection and full dependency.   for a weekend project who cares. for something with real players i wouldnt build my server on that.
    • Can I suggest some things. I'm not experienced with 3D graphics but I have the belief that they are easily implemented with high impact: Screen-Space Ambient Occlusion : Can this be added for mesh/objects (not npc/players cause it might be too tough on performance). Volumetric Fog / Gods Rays : Going through trees or local structures / meshes such as ruins, this will look amazing.   Depth of Field : I'm not sure if this is going to look good, but when you target a player, make the game focus on that layer of distance ? 
    • You want to buy a product to ensure high-quality development without any "quick-and-dirty hacks," only to get banned from a server you've been on for years—and why? Just because. Because someone thinks they're important enough to believe others want to "spy" on them. Anyway, I'll keep using Akumu's clients.   The client and other products might be great. Customer service? ZERO.   People who speak in the third person—that's something crazy people do.   Life goes on. XD
    • That is fine; they can remain with NCSOFT. That doesn't change anything about Fermata's legality. If NCSOFT wants to sue me, they can. I have lawyers. End of legal talk.
    • NCSOFT's terms also say that the intellectual-property rights in its software and content remain with NCSOFT/licensors and that users receive only the rights specifically granted by the terms. So no say that they can use on his own installation still iligal.... Make your own assets or you are cooked end
  • 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..