Jump to content

  •  

Photo

[Request] Item DB Script for this item


Best Answer Alayne, 17 April 2015 - 09:03 AM

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.

Go to the full post


  • Please log in to reply
19 replies to this topic

#1 Bringer

Bringer

    Advanced Member

  • Validating
  • PipPipPip
  • 123 posts

Posted 10 April 2015 - 11:05 AM

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

 



#2 Alayne

Alayne

    Advanced Member

  • Members
  • PipPipPip
  • 213 posts

Posted 17 April 2015 - 06:52 AM

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?



#3 Bringer

Bringer

    Advanced Member

  • Validating
  • PipPipPip
  • 123 posts

Posted 17 April 2015 - 08:31 AM

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

#4 Alayne

Alayne

    Advanced Member

  • Members
  • PipPipPip
  • 213 posts

Posted 17 April 2015 - 09:03 AM   Best Answer

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.



#5 Bringer

Bringer

    Advanced Member

  • Validating
  • PipPipPip
  • 123 posts

Posted 19 April 2015 - 12:28 PM

@Alayne about this

 

[color=rgb(0,136,0);]-Gives Falcon Mastery Skill[/color]

 

[color=rgb(0,136,0);]i try to rent a falcon on my breed npc but the npc cant give me falcon [/color]



#6 Alayne

Alayne

    Advanced Member

  • Members
  • PipPipPip
  • 213 posts

Posted 19 April 2015 - 05:41 PM

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



#7 Bringer

Bringer

    Advanced Member

  • Validating
  • PipPipPip
  • 123 posts

Posted 20 April 2015 - 06:22 AM

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;            }


#8 Alayne

Alayne

    Advanced Member

  • Members
  • PipPipPip
  • 213 posts

Posted 20 April 2015 - 06:32 AM

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?



#9 Bringer

Bringer

    Advanced Member

  • Validating
  • PipPipPip
  • 123 posts

Posted 20 April 2015 - 06:42 AM

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 



#10 Alayne

Alayne

    Advanced Member

  • Members
  • PipPipPip
  • 213 posts

Posted 20 April 2015 - 06:54 AM

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, 20 April 2015 - 06:55 AM.


#11 Bringer

Bringer

    Advanced Member

  • Validating
  • PipPipPip
  • 123 posts

Posted 20 April 2015 - 06:59 AM

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;			}		}}


#12 Alayne

Alayne

    Advanced Member

  • Members
  • PipPipPip
  • 213 posts

Posted 20 April 2015 - 07:01 AM

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 .



#13 Bringer

Bringer

    Advanced Member

  • Validating
  • PipPipPip
  • 123 posts

Posted 20 April 2015 - 07:14 AM

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?



#14 Alayne

Alayne

    Advanced Member

  • Members
  • PipPipPip
  • 213 posts

Posted 20 April 2015 - 07:36 AM

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



#15 Bringer

Bringer

    Advanced Member

  • Validating
  • PipPipPip
  • 123 posts

Posted 20 April 2015 - 07:47 AM

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

[color=#FF0000;font-weight:bold;][Error][/color]: 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[color=#FF0000;font-weight:bold;]([/color]) == 0 && getskilllv("KN_RIDING")>0 && Class != 4054 && Class != 4060 && Class != 4066 && Class != 4073) {
[color=rgb(0,255,255);font-weight:bold;]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[/color][color=#00FF00;font-weight:bold;]^[/color]
26: setriding;
27: close;
28: }else{ 



#16 Alayne

Alayne

    Advanced Member

  • Members
  • PipPipPip
  • 213 posts

Posted 20 April 2015 - 07:52 AM

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.
 



#17 Bringer

Bringer

    Advanced Member

  • Validating
  • PipPipPip
  • 123 posts

Posted 20 April 2015 - 07:56 AM

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



#18 Alayne

Alayne

    Advanced Member

  • Members
  • PipPipPip
  • 213 posts

Posted 20 April 2015 - 07:57 AM

Your welcome.

Tag the topic as answered ^^



#19 Bringer

Bringer

    Advanced Member

  • Validating
  • PipPipPip
  • 123 posts

Posted 20 April 2015 - 08:38 AM

Posted Image

Your welcome.

Tag the topic as answered ^^



#20 Alayne

Alayne

    Advanced Member

  • Members
  • PipPipPip
  • 213 posts

Posted 20 April 2015 - 09:06 AM

Sorry mistyped the declaration. That's not "bonus4" but "bonus5"






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users


This topic has been visited by 71 user(s)