Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/11/23 in all areas

  1. Hi, I'm sorry, I didn't understand. Is this how the script should look like? set .@Treasure,GetCastleData(strnpcinfo(2),CD_CURRENT_ECONOMY)/5+4; .@Treasure = 24; //always spawn 24 treasures. (máx:24)
    1 point
  2. 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:
    1 point
  3. OnMallWarp: if (BaseLevel < 15) { mes "Your baselevel is to high."; close; } if (getmapflag(strcharinfo(3),mf_pvp) || getmapflag(strcharinfo(3),mf_gvg)) { dispbottom "You cannot use this command in the Battle field areas.",0x00ff00; end; } warp "new_1-2",100,100; end;
    1 point
  4. Version 1.0.0

    316 downloads

    I found this old banner template made in mid-2017 lost on my computer. I decided to make some adjustments and post it here for you. The PSD file is fully editable. Any questions I am at your disposal.
    Free
    1 point
×
×
  • Create New...