Jump to content
  • 0
Sign in to follow this  
ThyroDree

Pa request naman ng Script

Question

Help me how can i make this script on item_db2

 

[^000088 + Red Valkyrie Helm ^000000]
Enables use of ^008800Level 4 Warm Wind^000000.



Red Valkyrie Helm ID - 25000
Please
Help

----

 

25000,_redvalkyriehelm,Red Valkyrie Helm,5,20,,200,,2,,1,0xFFFFFFFF,7,2,256,,0,1,1300,{ bonus2 bSubRace,RC_Demihuman,10; bonus2 bAddRace,RC_Demihuman,10; if (getequipid(25001)) { bonus bSkill,"TK_SEVENWIND",4; bonus bStr,3; },{},{}
25001,_redvampirewings,Red Vampire Wings,5,20,,200,,2,,0,0xFFFFFFFF,7,2,1,,0,1,1301,{ bonus bAllstats,5; bonus2 bAddRace,RC_Demihuman,10; bonus2 bAddEff,Eff_Curse,5; bonus bAtkEle,7; },{},{}



i get error
here CLICK ME

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Wala namang ganitong command. 25001 ay item id hindi equipment slot -_-

if (getequipid(25001))

 

Reference : 

*getequipid(<equipment slot>)This function returns the item ID of the item equipped in the equipmentslot specified on the invoking character. If nothing is equipped there, itreturns -1. Valid equipment slots are:EQI_HEAD_TOP (1) - Upper head gearEQI_ARMOR (2) - Armor (Where you keep your Jackets and Robes)EQI_HAND_L (3) - What is in your Left hand.EQI_HAND_R (4) - What is in your Right hand.EQI_GARMENT (5) - The garment slot (Mufflers, Hoods, Manteaus)EQI_SHOES (6) - What foot gear the player has on.EQI_ACC_L (7) - Accessory 1.EQI_ACC_R (8) - Accessory 2.EQI_HEAD_MID (9) - Middle Headgear (masks and glasses)EQI_HEAD_LOW (10) - Lower Headgear (beards, some masks)EQI_COSTUME_HEAD_LOW (11) - Lower Costume HeadgearEQI_COSTUME_HEAD_MID (12) - Middle Costume HeadgearEQI_COSTUME_HEAD_TOP (13) - Upper Costume HeadgearEQI_COSTUME_GARMENT (14) - Costume GarmentEQI_SHADOW_ARMOR (15) - Shadow ArmorEQI_SHADOW_WEAPON (16) - Shadow WeaponEQI_SHADOW_SHIELD (17) - Shadow ShieldEQI_SHADOW_SHOES (18) - Shadow ShoesEQI_SHADOW_ACC_R (19) - Shadow Accessory 2EQI_SHADOW_ACC_L (20) - Shadow Accessory 1

 

Much better pag ganito ginamit mo :

itemid,itemname,....{ if (isequipped(25000)) { skill "TK_SEVENWIND",4; } },{},{ sc_end "TK_SEVENWIND"; }

Share this post


Link to post
Share on other sites
  • 0
25000,_redvalkyriehelm,Red Valkyrie Helm,5,20,,200,,2,,1,0xFFFFFFFF,7,2,256,,0,1,1300,{ bonus2 bSubRace,RC_Demihuman,10; bonus2 bAddRace,RC_Demihuman,10; if (getequipid(25001)) { bonus bSkill,"TK_SEVENWIND",4; bonus bStr,3;} },{},{}25001,_redvampirewings,Red Vampire Wings,5,20,,200,,2,,0,0xFFFFFFFF,7,2,1,,0,1,1301,{ bonus bAllstats,5; bonus2 bAddRace,RC_Demihuman,10; bonus2 bAddEff,Eff_Curse,5; bonus bAtkEle,7; },{},{} 

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.