Jump to content
  • 0

l2jfrozen, guards


dramaa93

Question

5 answers to this question

Recommended Posts

  • 0
1 hour ago, dramaa93 said:

can i delete castle guards from anywhere? i mean not 1 by 1.

and 1 more question, how can i change  enchant skill Sp cost ?

I guess their type is L2SiegeGuardInstance you can make an SQL query and delete all ID from the spawnlist table of that type. 

 

On the other hand, why delete them from the database. Simply add a check in SpawnTable.java if template instance typeOf("L2SiegeGuard"), to continue and not perform any spawn of that instance. Faster way cause i doubt if your spawnlist contains the type of the spawn. This must in "custom_npc" or "npc.xml" if your NPCs are in xml format.

Edited by Kara
Link to comment
Share on other sites

  • 0
On 2/22/2021 at 4:36 PM, dramaa93 said:

can i delete castle guards from anywhere? i mean not 1 by 1.

and 1 more question, how can i change  enchant skill Sp cost ?

i think this will work as well SQL~>

Spoiler

DELETE spawnlist, npc FROM spawnlist, npc WHERE spawnlist.npc_templateid = npc.idTemplate AND npc.level < 80 AND npc.type = 'L2SiegeGuard'; 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...