Jump to content
  • 0
Sign in to follow this  
Bringer

[Request] Item DB Script for this item

Question

A very good long range and support weapon. This weapon is very weak in close quarters due to it's slow fire and large size. However, if it has the time it needs it can cause massive damage to the enemy.
-High Chance to cause bleeding on the enemy
-Long Range
-Pierces DEF
-Slightly slows movement speed
-Increases Hit Rate
-Gives Falcon Mastery Skill
-Gives user level 2 Detecting
-+400% Damage with tracking skill
-Grants bash skill level 7
Class :^777777 Weapon^000000
Equipped On :^777777 Both Hands^000000
Atk :^777777 77^000000
Weight :^777777 150^000000
Applicable Job :^777777 Gunslinger^000000
 
Very light and easy to handle.This weapon is in a fight for the lead for the best close quarters weapons with the custom shotgun.Also it aim very well around the body and performing the Desperado move.
-SP Consumption +50%
-Blinds by low chance
-Pierces DEF
-Increase Desperado Damage by 30%
-Very small chance to drain 5% of enemys sp.
-Small chance to drain 10% of your sp.
Class :^777777 Weapon^000000
Equipped On :^777777 Both Hands^000000
Atk :^777777 50^000000
Weight :^777777 80^000000
Applicable Job :^777777 Gunslinger^000000
 
A very heavy but powerful gun.Due to it's heavy weight you cannot use it to hit people.The best suppresive weapon there is.
-Change to auto-guard self.
-Slows Movement Speed
-Drake Effect
-Chance of stunning enemy when attacking.
-Unstrippable
-Pierces DEF
Class :^777777 Weapon^000000
Equipped On :^777777 Both Hands^000000
Atk :^777777 100^000000
Weight :^777777 400^000000
Applicable Job :^777777 Gunslinger^000000
 
A great close quarters weapon. Also this weapon is the best weapon for attacking multiple enemys or getting in close to make one hard single hit on an enemy.
-All shots are spread shots.
-Grants level 7 bash.
-Chance to autoguard self.
-Small chance to silence enemy
+200% SP Consumption.
+200% Damage with Spread shot skill.
+30% Damage with Full Buster skill.
-Pierces DEF.
-Additional damage on ghost property
Class :^777777 Weapon^000000
Equipped On :^777777 Both Hands^000000
Atk :^777777 100^000000
Weight :^777777 200^000000
Applicable Job :^777777 Gunslinger^000000

 

Share this post


Link to post
Share on other sites

19 answers to this question

Recommended Posts

  • 0

Allright. I think I got it all:

 

1:A very good long range and support weapon. This weapon is very weak in close quarters due to it's slow fire and large size. However, if it has the time it needs it can cause massive damage to the enemy.-High Chance to cause bleeding on the enemy-Long Range-Pierces DEF-Slightly slows movement speed-Increases Hit Rate-Gives Falcon Mastery Skill-Gives user level 2 Detecting-+400% Damage with tracking skill-Grants bash skill level 7Class :^777777 Weapon^000000Equipped On :^777777 Both Hands^000000Atk :^777777 77^000000Weight :^777777 150^000000Applicable Job :^777777 Gunslinger^000000Script: <" bonus3 bAddEff,Eff_Bleeding,5000,ATF_SHORT;		bonus bIgnoreDefClass,Class_Normal; 		bonus bSpeedRate,-5;		bonus bHit,25;		bonus2 bSkillAtk,GS_TRACKING,400; 		skill HT_DETECTING,2; 		skill HT_FALCON,1; 		skill SM_BASH,7; ">2:Very light and easy to handle.This weapon is in a fight for the lead for the best close quarters weapons with the custom shotgun.Also it aim very well around the body and performing the Desperado move.-SP Consumption +50%-Blinds by low chance-Pierces DEF-Increase Desperado Damage by 30%-Very small chance to drain 5% of enemys sp.-Small chance to drain 10% of your sp.Class :^777777 Weapon^000000Equipped On :^777777 Both Hands^000000Atk :^777777 50^000000Weight :^777777 80^000000Applicable Job :^777777 Gunslinger^000000Script: <" bonus bUseSPrate,50;		bonus bIgnoreDefClass,Class_Normal; 		if(rand(1000)<50) sc_start SC_BLIND,2000,0;		bonus2 bSkillAtk,GS_DESPERADO,30; 		bonus2 bSPVanishRate,5,30;		autobonus "{ bonus2 bSPLossRate,10,1000; }",		">3:A very heavy but powerful gun.Due to it's heavy weight you cannot use it to hit people.The best suppresive weapon there is.-Change to auto-guard self.-Slows Movement Speed-Drake Effect-Chance of stunning enemy when attacking.-Unstrippable-Pierces DEFClass :^777777 Weapon^000000Equipped On :^777777 Both Hands^000000Atk :^777777 100^000000Weight :^777777 400^000000Applicable Job :^777777 Gunslinger^000000Script: <" 			bonus4 bAutoSpell,ML_AUTOGUARD,1,50,BF_NORMAL,0;			bonus bSpeedRate,-5;			bonus bNoSizeFix,0;			bonus2 bAddEff,Eff_Stun,500;			bonus bUnstripable,1;			bonus bIgnoreDefClass,Class_Normal;		">4:A great close quarters weapon. Also this weapon is the best weapon for attacking multiple enemys or getting in close to make one hard single hit on an enemy.-All shots are spread shots.-Grants level 7 bash.-Chance to autoguard self.-Small chance to silence enemy+200% SP Consumption.+200% Damage with Spread shot skill.+30% Damage with Full Buster skill.-Pierces DEF.-Additional damage on ghost propertyClass :^777777 Weapon^000000Equipped On :^777777 Both Hands^000000Atk :^777777 100^000000Weight :^777777 200^000000Applicable Job :^777777 Gunslinger^000000Script: <" 		bonus bSplashRange,3;		skill SM_BASH,7; 		bonus4 bAutoSpell,ML_AUTOGUARD,1,50,BF_NORMAL,0;		bonus2 bAddEff,Eff_Silence,500;		bonus bUseSPrate,200;		bonus2 bSkillAtk,GS_SPREADATTACK,200;		bonus2 bSkillAtk,GS_FULLBUSTER,30;		bonus bIgnoreDefClass,Class_Normal;		bonus2 bAddEle,Ele_Ghost,15;  		">

Tell me if something's missing.

Share this post


Link to post
Share on other sites
  • 0

That's a bit...You shoudl reformulate your asking to be a bit more "sympathic" to obtain an answer...

 

What do you need exactly? The script only, The database entry value?

Share this post


Link to post
Share on other sites
  • 0

That's a bit...You shoudl reformulate your asking to be a bit more "sympathic" to obtain an answer...

 

What do you need exactly? The script only, The database entry value?

just the effect of this weapon sir

Share this post


Link to post
Share on other sites
  • 0

Do you have the skill? If yes, maybe there's a check on your renting npc which verify your class too.

like this?

       case 2:            if(BaseJob != Job_Gunslinger && BaseClass == Job_Gunslinger && checkfalcon() == 0 && getskilllv("HT_FALCON")>0) {                setfalcon;                close;            }else{                mes "[Rental NPC]";                mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";                close;            }

Share this post


Link to post
Share on other sites
  • 0

Your test is wrong. Actually your test says:

 

"if you're base job is not Gunslinger AND if you are a gunslinger and if you don't have a falcon and you know the skill "Falcon Mastery", then get a falcon.

Else blablabla"

 

Is that what you wanna check?

Share this post


Link to post
Share on other sites
  • 0

Your test is wrong. Actually your test says:

 

"if you're base job is not Gunslinger AND if you are a gunslinger and if you don't have a falcon and you know the skill "Falcon Mastery", then get a falcon.

Else blablabla"

 

Is that what you wanna check?

can you correct it 

Share this post


Link to post
Share on other sites
  • 0

Well yes, but I need to know the condition you wanna check? If it's just a check for skill, this should be enough:

 

if(checkfalcon() == 0 && getskilllv("HT_FALCON")>0) {	setfalcon;	close;}else{    mes "[Rental NPC]";    mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";    close;}

If there's more to check, you'll have to tell me ^^

Edited by Alayne

Share this post


Link to post
Share on other sites
  • 0

Well yes, but I need to know the condition you wanna check? If it's just a check for skill, this should be enough:

 

if(checkfalcon() == 0 && getskilllv("HT_FALCON")>0) {	setfalcon;	close;}else{    mes "[Rental NPC]";    mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";    close;}

If there's more to check, you'll have to tell me ^^

where i can paste the code here my script

 

 

poring_w02,86,101,5	script	Rental NPC	4_F_JOB_BLACKSMITH,{	mes "[Rental NPC]";	mes "Hi, here you can rent Carts, Falcons, Pecopecos.";	next;	switch(select("Cart:Falcon:Peco:")) {		case 1:			if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART")>0) {				setcart;				close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}		case 2:			if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON")>0) {				setfalcon;				close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}					case 3:			if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0 && Class != 4054 && Class != 4060 && Class != 4066 && Class != 4073) {				setriding;				close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}		case 4:			if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("RK_DRAGONTRAINING")>0) {				atcommand strcharinfo(0)+":@mount";				close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}		case 5:			if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0 && Class == 4073 || Class == 4066) {				setriding;				close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}		case 6:			if (BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE")>0 && Class == 4064 || Class == 4058) {				atcommand strcharinfo(0)+":@mount";				close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}		}}

Share this post


Link to post
Share on other sites
  • 0

So I said, here's your problem

 

if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON")>0) {				setfalcon;				close;}

You check if the player is an archer to get a falcon.

If you want anybody to be able to get a falcon, replace the two first checks with the script I gave you on my previous answer .

Share this post


Link to post
Share on other sites
  • 0
poring_w02,86,101,5	script	Rental NPC	4_F_JOB_BLACKSMITH,{	mes "[Rental NPC]";	mes "Hi, here you can rent Carts, Falcons, Pecopecos.";	next;	switch(select("Cart:Falcon:Peco:")) {		case 1:			if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART")>0) {				setcart;				close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}		case 2:			if(checkfalcon() == 0 && getskilllv("HT_FALCON")>0) {			setfalcon;			close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}					case 3:			if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0 && Class != 4054 && Class != 4060 && Class != 4066 && Class != 4073) {				setriding;				close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}		case 4:			if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("RK_DRAGONTRAINING")>0) {				atcommand strcharinfo(0)+":@mount";				close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}		case 5:			if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0 && Class == 4073 || Class == 4066) {				setriding;				close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}		case 6:			if (BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE")>0 && Class == 4064 || Class == 4058) {				atcommand strcharinfo(0)+":@mount";				close;			}else{				mes "[Rental NPC]";				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";				close;			}		}}

like that?

Share this post


Link to post
Share on other sites
  • 0

Yep. Therefor, you'll simply check if the player got a falcon and know the skill.

[Error]: script error in file '(DIRECT INPUT)' line 25 column 75

parse_simpleexpr: unmatched ')'

22: close;

23: }

24: case 3:

* 25: if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0 && Class != 4054 && Class != 4060 && Class != 4066 && Class != 4073) {

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

26: setriding;

27: close;

28: }else{ 

Share this post


Link to post
Share on other sites
  • 0

checkriding doesn't exists on hercule. To check if the user use a mado or another mount (peco, gryphon or dragon), you should use checkmount() and setmount.
 

Share this post


Link to post
Share on other sites
  • 0

checkriding doesn't exists on hercule. To check if the user use a mado or another mount (peco, gryphon or dragon), you should use checkmount() and setmount.

 

done fixed thanks sir

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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