Hi
If you want to remove investment in castle:
Find in these two files: \npc\guild\agit_main.txt (WOE 1) and/or \npc\guild2\agit_main_se.txt (WOE 2)
set .@Treasure,getcastledata(strnpcinfo(2),CD_CURRENT_ECONOMY)/5+4;
And add this in the next line:
.@Treasure = 24; //always spawn 24 treasures. (máx:24)
Find in \npc\re\guild3\agit_main_te.txt (WOE 3)
.@treasure_num = ( 4 + ( .@economy /5 ) ) *3;// x3 <-> data[] size
And add this in the next line:
.@treasure_num = 24; //always spawn 24 treasures. (máx:24)
-------------------------------------------------------
Or if you want to accelerate the investment in castle:
Find in these two files: \npc\guild\agit_main.txt (WOE 1) and/or \npc\guild2\agit_main_se.txt (WOE 2)
set .@Economy,GetCastleData(strnpcinfo(2),CD_CURRENT_ECONOMY);
And add this in the next line:
.@Economy += 10; //accelerate the investment. +=(add) or *=(multiplication)
Find in \npc\re\guild3\agit_main_te.txt (WOE 3)
.@economy_today = getcastledata(.@map$,CD_INVESTED_ECONOMY);
And add this in the next line:
.@economy_today *= 2; //accelerate the investment. +=(add) or *=(multiplication)
-------------------------------------------------------
To modify treasure drops: C:\Users\Ema\Documents\Alex\rag\rAthena2021\db\(pre-)re\mob_db.yml
Each castle has it's own treasure box with different items.
Find the Treasure Chest you want to change the contents and replace the IDs in the Drops: section.
Treasure IDs: