Jump to content

Gerz

Members
  • Content Count

    59
  • Joined

  • Last visited

  • Days Won

    1

Gerz last won the day on September 3 2016

Gerz had the most liked content!

1 Follower

About Gerz

  • Rank
    Advanced Member

Recent Profile Visitors

3754 profile views
  1. @@AnnieRuru how about this? /** * pcblock <account_id>, <value>, <type> * <value>: 1 = on, 0 = off * <type> can be: * 0 = block move * 1 = block attack * 2 = block skill * 3 = block chat * 4 = immune attack **/BUILDIN(pcblock) { int id, flag, type; TBL_PC *sd = NULL; id = script_getnum(st,2); flag = script_getnum(st,3); type = script_getnum(st,4); if( id ) sd = map->id2sd(id); else sd = script->rid2sd(st); switch( type ) { case 0: sd->state.blockedmove = flag > 0; break; case 1: sd->state.blockedattack = flag > 0; break; case 2: sd->state.blockedskill = flag > 0; break; case 3: sd->state.blockedchat = flag > 0; break; case 4: sd->state.monster_ignore = flag > 0; break; } return true;} BUILDIN_DEF(pcblock,"iii"),
  2. @@AnnieRuru welcome back!
  3. OnPCDieEvent:OnPCLoadMapEvent:heal 100,100;end;mapflag prontera loadevent something like this :v
  4. if( strcmp(map->list[src->m].name,"pvp_room") != 0 && map->list[src->m].flag.noteleport && !(map->list[src->m].flag.battleground || map_flag_gvg2(src->m)) ) {
  5. easy to make this script but that i told you, but more query :v with # account_base secondly, select query in account_reg_number is not real time update
  6. becuz if you use account base, '#' sometimes may not produce correct character names since rid means account id :v
  7. Gerz

    Top 10 zeny

    prontera,100,100,4 script Zeny Ranking 100,{ mes "[Zeny Ranking]"; mes "Top " + .MaxShow + " richest in the server:"; query_sql "select `name`,`zeny` from `char` where `zeny` > 0 order by `zeny` desc limit " + .MaxShow + "", .@name$, .@zeny; for( .@i = 0; .@i < getarraysize(.@zeny); .@i++ ) mes "~ [.@i + 1] ~ " + .@name$[.@i] + " | Zeny: " + .@zeny[.@i] + ""; close;OnInit: .MaxShow = 5; end;}
  8. Gerz

    bAddItemHealRate

    Yes, it will recovery 20% more hp for Ygg berry if you equipped with this card
  9. @ firstly, in case you're using wrong function :v, do not work like a machine, just view code! second, you want to make bonus script to add bonus to extract item id or to all healing sp items? my code work to increase % sp healing for all healing items :v bonus bAddItemSpRate,n; Increases SP recovered by n% for healing items. Update ver2 :v bAddItemSpRate_v2.diff bonus to extract item id: bonus2 bAddItemSpRate,id,n; Increases SP recovered by n% for item id/ig
  10. @@Lord Ganja not test yet, test yourself :v, if work + rep to me! mapzone_increase_max_mobhp_rate.diff
  11. prontera,100,100,0 script LahEffect -1,{end;OnInit: initnpctimer; end;OnTimer5000: misceffect EF_FIREWALL; initnpctimer; end;}
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.