Jump to content
  • 0

[HELP] SQL Query - SQL Console Comman - UPDATE sql query - NEED HELP !


Question

6 answers to this question

Recommended Posts

  • 0
Posted

This is SQL Query for  update droplist:

 

UPDATE `droplist` SET `chance` = 1000 WHERE `chance` < 100

 

So,what is a Query to update npc pAtk x2 ???

 

UPDATE `npc` SET `patk` * 2 WHERE `type` = L2Monster

 

This update query is wrong,how to make all mobs (L2Monster) stronger ?

patk x2 , pdef x2 , hp x2 ???

  • 0
Posted

UPDATE `npc` SET `pAtk` = 1000 WHERE `pAtk` < 500 this wont work out ,but just a sample.. You can't do it with SQL code ,but u can increase one by one by this method : UPDATE `npc` SET `pAtk` = 1000 WHERE `pAtk` < 500 then it will make all mobs that have 500 p atk or less to 1000 (doubled) and then

UPDATE `npc` SET `pAtk` = 2000 WHERE `pAtk` < 1001 but this wont work out.So u need to make it manually.

  • 0
Posted

Yes,but all mobs will be patk 1000 even RaidBoss.

I saw a proper UPDATE query whit all functions. + - / x

That was in L2Dot timeline , in extras.

Now imagin 1000 L2Monsters to update manually theirs pAtk x2.lol

Its can take a all day long.

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

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



×
×
  • Create New...