Jump to content

Ronald

Members
  • Posts

    241
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Ronald

  1. It would be better if you can provide us the scenario of the whole script.
  2. AFAIK this should work well unless the one you are changing is an costume equipment.
  3. // ----------------------------------------------------------- // Points variable -- optional quest requirement. // setarray .Points$[0],"<variable name>","<display name>"; // ----------------------------------------------------------- setarray .Points$[0], "#CASHPOINTS", "Cash Points";
  4. I've seen that you already created a thread about this one on this thread. And then this might be an old thread but this might help you get the idea of it. Basically the script you provided should work. You just need to add the conditional statements the way how you want it to work for class.
  5. You can try to set array instead on for the restricted maps if that's more easier. I think Annie's script is actually the one you've been looking for.
  6. Do you mean you want to have different Auras depending on the class? Not just one for all class?
  7. Not that I know. This would probably require an src modification. If you're going to do it the way you wanted it to be.
  8. Nothing is impossible. Check out your prontera map files. Most likely you'll use browedit.
  9. Can anyone provide me an instance with stages . Can enter anytime but each account has cooldown duration. No one can enter if a party is currently finishing the instance. I tried instancing but it wasn't what I was looking for. Big thanks! I already have my set of monster. Actually stage game is actually good but I want to summon different monsters each round and it needs to have cooldown to enter. Thanks.
  10. The answer is on plugin.ini and on lgp folder. You just have to set the specific file per skill.
  11. If your server has LGP function from Functor then you can check out the plugin.ini.
  12. conf/char_athena.conf char_maintenance: 0 to char_maintenance: 1 gm_allow_group: 99 to gm_allow_group: (your choice)
  13. You might want consider checking this out. But I'll try to make one once I am free. https://github.com/rathena/rathena/blob/master/npc/quests/quests_veins.txt
  14. Nothing has to change just use pre-re src and then disable some npcs. Then change the item script of Thanatos Card on your item database.
  15. Hi Mate, You can check this out.
  16. You can checkout status.cpp.
  17. You can just put announce after or before the getitem part.
  18. https://rathena.org/board/topic/90173-item-and-point-shop/ How about using a pointshop instead of this one? It will be just of same outcome but easier way. Just use single NPC with call function for the pointshop.
  19. Please reproduce. I've already provided you all the details to need to work it the way you wanted. I just gave you an idea on what you have to do. Basically you'll just need to do the dataflow. I can't test it on my emulator at the moment since I am a little bit busy but with all the details I've provided you should have fixed it. ?
  20. Ohh, sorry. Though the logic is just the same. case 2: if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) ) { mes "[MVP Summoner]"; mes "I cannot summon another MVP when there are monsters around."; close; } else if ( .mvpcost ) { mes "[MVP Summoner]"; mes "The cost to summon an MVP is "+ callfunc( "F_InsertComma", .mvpcost ) +" Mithril Coin."; next; set .@menu, select(.mvpid_menu$) -1; mes "[MVP Summoner]"; if (countitem(675) < .mvpcost ) { mes "You don't have enough Mithrils to summon an MVP."; close; } } else { set .@menu, select(.mvpid_menu$) -1; mes "[MVP Summoner]"; } mes "Please get ready."; close2; if (countitem(675) > .mvpcost ) end; delitem 675,1*.mvpcost; monster "this", 0, 0, "--ja--", .mvpid[.@menu], 1, strnpcinfo(3)+"::OnMobDead"; end; case 3: if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) ) { mes "[MVP Summoner]"; mes "I cannot summon another mini-boss when there are monsters around."; close; } else if ( .bosscost ) { mes "[MVP Summoner]"; mes "The cost to summon a mini-boss is "+ callfunc( "F_InsertComma", .bosscost ) +" Mithril Coins."; next; set .@menu, select(.bossid_menu$) -1; mes "[MVP Summoner]"; if (countitem(675) < .bosscost ) { mes "You doesn't have enough Mithrils to summon a mini-boss."; close; } } else { set .@menu, select(.bossid_menu$) -1; mes "[MVP Summoner]"; } mes "Please get ready."; close2; if (countitem(675) > .bosscost ) end; delitem 675,1*.bosscost; monster "this", 0, 0, "--ja--", .bossid[.@menu], 1, strnpcinfo(3)+"::OnMobDead"; end; _____ set .mvpcost, 10; // Zeny cost to summon an MVP (0 = free) set .bosscost, 10; // Zeny cost to summon a boss monster (0 = free) Haven't tried it though. Optimized it if there are any errors since I haven't tested it yet. But it will definitely give you a huge idea on how it should work.
  21. Yes, it's possible. Just change its condition. For example: if (countitem(674) > 10){ { if ( .inuseid[.@room] == getcharid( .type[.@room] ) ) { warp "06guild_0"+ .@room, 0,0; delitem 674,10; close; } else if (countitem(674) < 10) { mes "You don't have enough zeny to rent a room."; } Haven't tried it yet though. I may have deleted some of the parameters but its for you to check out what shouldn't be deleted. I just gave you a brief and example. You just have to change condition of zeny to an item using item count. Good luck!
×
×
  • Create New...