Skip to content

l2jfrozen, guards

Featured Replies

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 ?

Edited by dramaa93

Solved by Zake

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

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'; 

 

8 hours ago, dramaa93 said:

close. thx

ok, locked.

  • Vision locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.