Jump to content

Leaderboard

Popular Content

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

  1. Hi @gerrythecat, I had problems with the pandemic as you said... but now I'm back. I'll try to answer everyone who contacted me during my absence. Sorry for giving no news ?
    1 point
  2. Try removing the self-collision part in skill.cpp: // Self-collision if(bl->x >= min_x && bl->x <= max_x && bl->y >= min_y && bl->y <= max_y) skill_attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,(flag&0xFFF)>0?SD_ANIMATION:0); Damage you can set in battle.cpp: case KN_BOWLINGBASH: case MS_BOWLINGBASH: skillratio += 40 * skill_lv; break; Change it to: case KN_BOWLINGBASH: case MS_BOWLINGBASH: skillratio += 100 + 80 * skill_lv; break; For double damage.
    1 point
  3. - script Quest_Quest -1,{ OnInit: setarray $QReq[0],501,502,503,504,505,506,507,508,509,510; // Input Quest Requirements here } city,84,317,5 script DudeMan 665,{ //I always like to index quest variables at the top if(lemon == 1){goto QUESTNAME1;} if(lemon == 2){goto QUESTNAME2;} mes "[DudeMan]"; mes "So... you will blahblah, go and punch Lemon."; set lemon, 1; close; QUESTNAME1: mes "[DudeMan]"; mes "Did you do it?"; mes "Come on, i know you didn't."; close; QUESTNAME2: mes "[DudeMan]"; mes "Hehe, you showed that idiot."; next; mes "[DudeMan]"; mes "What? Did you expect a reward? You went and punched a guy for no reason, fuck off!"; close; }//End of DudeMan city,84,317,5 script Lemon 665,{ if(lemon == 1){goto QUESTNAME1;} if(lemon == 2){goto QUESTNAME2;} mes "[Lemon]"; mes "This script is UNNACEPTABLEEEEEE!."; close; QUESTNAME1: set .@req,getarraysize($QReq); for ( .@i = 0; .@i < .@req; .i++ ) { if (countitem(.@req[.@i])<1) { dispbottom "Its seems there is something wrong! I cant punch the lemon!"; close; } dispbottom "You punch him really hard in the belly."; sleep2 2000; emotion e_sob; mes "[Lemon]"; mes "w... why?"; sleep2 3000; emotion e_sob; mes "That hurts!"; set lemon, 2; close; QUESTNAME2: emotion e_sob; mes "[Lemon]"; mes "Please don't hurt me!"; close; }//End of Lemon try this one (above), if not working just say so. and the easy way to understand(below): city,84,317,5 script DudeMan 665,{ //I always like to index quest variables at the top if(lemon == 1){goto QUESTNAME1;} if(lemon == 2){goto QUESTNAME2;} mes "[DudeMan]"; mes "So... you will blahblah, go and punch Lemon."; set lemon, 1; close; QUESTNAME1: mes "[DudeMan]"; mes "Did you do it?"; mes "Come on, i know you didn't."; close; QUESTNAME2: mes "[DudeMan]"; mes "Hehe, you showed that idiot."; next; mes "[DudeMan]"; mes "What? Did you expect a reward? You went and punched a guy for no reason, fuck off!"; close; }//End of DudeMan city,84,317,5 script Lemon 665,{ if(lemon == 1){goto QUESTNAME1;} if(lemon == 2){goto QUESTNAME2;} mes "[Lemon]"; mes "This script is UNNACEPTABLEEEEEE!."; close; QUESTNAME1: if (countitem(501)<1 && countitem(502)<1 && countitem(503)<1 ) { mes "You need to get a set of "+getitemname(501)+","+getitemname(502)+","+getitemname(503)+" to punch the lemon!"; close; } dispbottom "You punch him really hard in the belly."; sleep2 2000; emotion e_sob; mes "[Lemon]"; mes "w... why?"; sleep2 3000; emotion e_sob; mes "That hurts!"; set lemon, 2; close; QUESTNAME2: emotion e_sob; mes "[Lemon]"; mes "Please don't hurt me!"; close; }//End of Lemon QUESTNAME1: if (countitem(501)<1 && countitem(502)<1 && countitem(503)<1 ) { mes "You need to get a set of "+getitemname(501)+","+getitemname(502)+","+getitemname(503)+" to be able to punch the lemon! close; } change item id in the upper box ^^^^ 501,502,503
    1 point
×
×
  • Create New...