dramaa93 Posted February 22, 2021 Posted February 22, 2021 (edited) 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 February 22, 2021 by dramaa93
0 Zake Posted February 23, 2021 Posted February 23, 2021 Siege#startSiege -> delete spawnSiegeGuard(); line
0 Kara Posted February 22, 2021 Posted February 22, 2021 (edited) On 2/22/2021 at 2: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 ? Expand 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 February 22, 2021 by Kara
0 Irrelevant Posted February 23, 2021 Posted February 23, 2021 On 2/22/2021 at 2: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 ? Expand i think this will work as well SQL~> Reveal hidden contents DELETE spawnlist, npc FROM spawnlist, npc WHERE spawnlist.npc_templateid = npc.idTemplate AND npc.level < 80 AND npc.type = 'L2SiegeGuard';
0 Vision Posted February 25, 2021 Posted February 25, 2021 On 2/25/2021 at 10:13 AM, dramaa93 said: close. thx Expand ok, locked.
Question
dramaa93
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 dramaa935 answers to this question
Recommended Posts