Jump to content
  • 0

Combo Script HELP


WhatFT

Question


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

Need help urgent !

20676#
[^FF0000Avenger RO Set^000000]
Enable to detect hidden enemies
Matk +15%
Int +10
[Dark Hat, Dark Spell Ring]
Decrease damage from Demi-human by 20%
Max HP +20%
Vit +10
Class: ^777777Headgear^000000
Defense: ^7777770^000000
Equipped on: ^777777 Middle ^000000
Weight: ^77777710^000000
Required Level: ^777777^000000
Applicable Job: ^777777Every Job^000000
#
20677#
[^FF0000Avenger RO Set^000000]
Increase magical damage to Demi-human by 10%
Matk +10%
Int +10
[Dark Glasses, Dark Spell Ring]
Decrease damage from Demi-human by 20%
Max HP +20%
Vit +10
Class: ^777777Headgear^000000
Defense: ^7777770^000000
Equipped on: ^777777 Upper ^000000
Weight: ^77777710^000000
Required Level: ^777777^000000
Applicable Job: ^777777Every Job^000000
#
20678#
[^FF0000Avenger RO Set^000000]
Increase magical damage to Demi-human by 10%
Casting Time -20%
Int +10
[Dark Hat, Dark Glasses]
Decrease damage from Demi-human by 20%
Max HP +20%
Vit +10
Class: ^777777Headgear^000000
Defense: ^7777770^000000
Equipped on: ^777777 Lower ^000000
Weight: ^77777710^000000
Required Level: ^777777^000000
Applicable Job: ^777777Every Job^000000
#

Can anyone give me a sample of this item, Combo Script thanks ... !

HERE is my script I made but everytime I wear 1 item.. it gives +10 Vit O_O when I wear the 3 items, total of 30 vit i have..

20676,Dark_Glasses,Dark Glasses,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,512,,0,0,1676,{ bonus bIntravision,0; bonus bMatkRate,15; bonus bInt,10; if(isequipped(20676,20677,20678)) bonus2 bSubRace,7,20; bonus bMaxHPrate,20; bonus bVit,10; },{},{}
20677,Dark_Hat,Dark Hat,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,1677,{ bonus2 bMagicAddRace,7,10; bonus bMatkRate,10; bonus bInt,10; if(isequipped(20676,20677,20678)) bonus2 bSubRace,7,20; bonus bMaxHPrate,20; bonus bVit,10; },{},{}
20678,Dark_Spell_Ring,Dark Spell Ring,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,1,,0,0,1678,{ bonus2 bMagicAddRace,7,10; bonus bCastrate,-20; bonus bInt,10; if(isequipped(20676,20677,20678)) bonus2 bSubRace,7,20; bonus bMaxHPrate,20; bonus bVit,10; },{},{}

Edited by Paulinds
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   18
  • Joined:  01/06/12
  • Last Seen:  

That is because you added the set effect on all 3 equipments.

It should really just have 1 equip having the set effect on while the 2 other doesn't.

It would then count the effect once.

The set effect should usualy be on the main equip, in armor/shoe/mantle set, it should be armor having the main effect.

Further more, it is unneeded to include main equip as a condition to the set effect because it will the one that will trigger when the other 2 condition is met.

For your set, I would have put the effect like this.

20676,Dark_Glasses,Dark Glasses,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,512,,0,0,1676,{ bonus bIntravision,0; bonus bMatkRate,15; bonus bInt,10; if(isequipped(20677,20678)) bonus2 bSubRace,7,20; bonus bMaxHPrate,20; bonus bVit,10; },{},{}

20677,Dark_Hat,Dark Hat,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,1677,{ bonus2 bMagicAddRace,7,10; bonus bMatkRate,10; bonus bInt,10; },{},{}

20678,Dark_Spell_Ring,Dark Spell Ring,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,1,,0,0,1678,{ bonus2 bMagicAddRace,7,10; bonus bCastrate,-20; bonus bInt,10; },{},{}

Edited by JoWei
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

Ohh so that means, It only needs 1 item not all?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   18
  • Joined:  01/06/12
  • Last Seen:  

Basically, what it means is that in the set only 1 item need check if the other 2 equipments has been equipped and give the bonus accordingly.

For example in your set:

The Dark Glasses would check if Dark Hat and Dark Spell Ring has been equipped.

Scenario:

When Dark Glasses has been equipped

Check If the other 2 has been equipped

If they are

then apply the effects

else

do not apply the effect because there's missing pieces

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

I don't get it O_O I did what you tell and still does not work..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   18
  • Joined:  01/06/12
  • Last Seen:  

Ok, I think I found out why.

The if wasnt enclosed by {} thus having the effect still working since it would only put the condition on bonus2 bSubRace,7,20;.

20676,Dark_Glasses,Dark Glasses,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,512,,0,0,1676,{ bonus bIntravision,0; bonus bMatkRate,15; bonus bInt,10; if(isequipped(20677,20678)){ bonus2 bSubRace,7,20; bonus bMaxHPrate,20; bonus bVit,10;} },{},{}

This should work correctly.

Edited by JoWei
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

Sorry late reply, I'll that ^ wait :)

It's working now but when I do it in this set, 20768 is not working and the set effect O_O

20766#
[^FF0000Avenger RO Set^000000]
Increase damage to Demi-human by 10%
Decrease damage from Demi-human by 10%
Max HP +10%
Agi +12
Vit +12
[Freya's Buster, Freya's Pauldron]
Adds a 20% resistance against freeze status
Adds a 20% resistance against stone status
Max HP +30%
Defense: ^7777770^000000
Equipped on: ^777777 Upper ^000000
Weight: ^77777710^000000
Required Level: ^777777^000000
Applicable Job: ^777777Every Job^000000
#
20767#
[^FF0000Avenger RO Set^000000]
Increase damage to Demi-human by 10%
Decrease damage from Demi-human 10%
Increase Long Range attack by 10%
Str +12
Luk +12
Dex +12
[Freya's Crown, Freya's Pauldron]
Adds a 20% resistance against freeze status
Adds a 20% resistance against stone status
Max HP +30%
Defense: ^7777770^000000
Equipped on: ^777777 Lower ^000000
Weight: ^77777710^000000
Required Level: ^777777^000000
Applicable Job: ^777777Every Job^000000
#
20768#
[^FF0000Avenger RO Set^000000]
Increse magical damage to Demi-human by 10%
Decrease damage from Demi-human by 10%
Matk +20%
Increase damage of Storm Gust by 10%
Int +12
[Freya's Buster, Freya's Pauldron]
Adds a 20% resistance against freeze status
Adds a 20% resistance against stone status
Max HP +30%
Defense: ^7777770^000000
Equipped on: ^777777 Middle ^000000
Weight: ^77777710^000000
Required Level: ^777777^000000
Applicable Job: ^777777Every Job^000000
#

Here is the Itemscript..

20766,Freya's_Crown,Freya's Crown,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,1766,{ bonus2 bAddRace,7,10; bonus2 bSubRace,7,10; bonus bMaxHPrate,10; bonus bAgi,12; bonus bVit,12; },{},{}
20767,Freya's_Buster,Freya's Buster,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,1,,0,0,1767,{ bonus2 bAddRace,7,10; bonus2 bSubRace,7,10; bonus bLongAtkRate,10; bonus bStr,12; bonus bDex,12; bonus bLuk,12; },{},{}
20768,Freya's_Pauldron,Freya's Pauldron,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,512,,0,0,1768,{ bonus2 bMagicAddRace,7,10; bonus2 bSubRace,7,10; bonus bMatkRate,20; bonus2 bSkillAtk,”WZ_STORMGUST”,10; bonus bInt,10; if(isequipped(20766,20767,20768)){ bonus2 bResEff,Eff_Freeze,2000; bonus2 bResEff,Eff_Stone,2000; bonus bMaxHPrate,30;} },{},{}

Edited by Paulinds
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   18
  • Joined:  01/06/12
  • Last Seen:  

As a small notice, you don't need to add the item code on which the set effect base is on. Like for this one, it's uneeded to add itself in the condition.

This one should work fine now.

20768,Freya's_Pauldron,Freya's Pauldron,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,512,,0,0,1768,{ bonus2 bMagicAddRace,7,10; bonus2 bSubRace,7,10; bonus bMatkRate,20; bonus2 bSkillAtk,"WZ_STORMGUST",10; bonus bInt,10; if(isequipped(20766,20767)){ bonus2 bResEff,Eff_Freeze,2000; bonus2 bResEff,Eff_Stone,2000; bonus bMaxHPrate,30;} },{},{}

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...