Jump to content

Aleos

Development Manager
  • Posts

    732
  • Joined

  • Days Won

    73

Everything posted by Aleos

  1. You need to put your declaration at the top, not midway through. int i, j; int vending_skill_lvl; char esc_mes[MESSAGE_SIZE*2+1]; nullpo_retv(sd);
  2. As Z3R0 said, there is no actual scripting command to get the level of a guild, but this is a simple NPC to get it without having to make an actual command. prontera,150,150,3 script Guild Level 100,{ set .@guild_id,strcharinfo(2); if ( !.@guild_id ) { mes "You aren't in a guild!"; close; } query_sql "SELECT `guild_lv` FROM `guild` WHERE `guild_id` = '"+ .@guild_id +"'",.@guild_lv; mes "Your guild level is "+ .@guild_lv +"!"; close; }
  3. I was wondering if there was a way to stop Asura Strike when a monster teleports. Currently I use the autoloot screen range to keep players from damaging MVPs and then running and taking the items. Some players have told me though that Lady Tanee tends to teleport at the instance Asura Strike kills her, so her items go with her wherever she dies. I truthfully have never played a Monk class so I personally don't know too much about them, but iRO Wiki states that if a line of sight is made while casting the damage is sent through. So what happens if the line of sight (target) teleports after the skill has been cast? Shouldn't it stop the damage from being sent? Would it be simple enough to just stop it in skill_attack()? Edit: Found the reasolution for this, which actually had a config for it. // Range added to skills after their cast time finishes. // Decides how far away the target can walk away after the skill began casting before the skill fails. // 0 disables this range checking (default) skill_add_range: 14 I changed it to 14 since that's the distance of onscreen view anyways.
  4. Just for confirmation, this requires 2011-02-23bRagexeRE or newer (As per this topic).
×
×
  • Create New...