Jump to content
  • 0

2 max deadly script please :(


jutaysxd

Question

12 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  102
  • Reputation:   1
  • Joined:  11/06/12
  • Last Seen:  

Dont understand what your asking for here, input more information or noone will be able to help you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.01
  • Content Count:  134
  • Reputation:   1
  • Joined:  09/29/12
  • Last Seen:  

Dont understand what your asking for here, input more information or noone will be able to help you.

only 2 lhz card can equip script

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

http://www.eathena.w...dpost&p=1289421

http://www.eathena.w...dpost&p=1509691

dunno why but I feel like want to post this also xD

put this in your card....i mean every card of these restricted card

replace the effect of the original card with this

if( isequippedcnt( 4359,4361,4367,4399,4407 ) <= 2 ){  original script effect	 };

how is this going to work ?

all 5 cards need to use this function ?

I don't understand how is this going to work

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

@Annie

this is how i do it....xD

*isequippedcnt(<card id>{,<card id>{,<card id>{,<card id>}}})

This function is similar to 'isequipped', but instead of 1 or 0, it will return
the number of cards in the list given that were found on the invoking character.

the function will currently return the number of card equipped by player...only the card that listed in the parameter...

in above case it's

4359,4361,4367,4399,4407

when users have equipped 3 or more card that listed in the parameter....the original effect wont take place....

and the effect will only work when users have equipped 1 or 2 card combo to get it activated...

maybe use a script like to to check whether the card combo can be activated or not..

http://pastebin.com/raw.php?i=vpeg74tp


but what i trying to do...was almost similar to what annie post in second link

http://www.eathena.w...1

just that..annie using nude when users have equipped more than 2 card combo...while the method i try to use was nullify the effect of card..

so player wont need to re-equip their equipment from time to time...

for the 1st link

http://www.eathena.w...1

i dont think this would be the best way , since all the card effect in the list are not stackable like other card...even if it did, it wont work best for certain card like..

Thanatos Card ( Pierce Defence ) , Randgris Card ( Unbreakable Weapon ) and etc....this type of effect cant be remove...using the multiply / divide calculation xD

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

for the 1st link

http://www.eathena.w...1

i dont think this would be the best way , since all the card effect in the list are not stackable like other card...even if it did, it wont work best for certain card like..

Thanatos Card ( Pierce Defence ) , Randgris Card ( Unbreakable Weapon ) and etc....this type of effect cant be remove...using the multiply / divide calculation xD

yeah, this technique is only use for cards that has percentage or integer value

maybe use a script like to to check whether the card combo can be activated or not..

http://pastebin.com/raw.php?i=vpeg74tp

how ?

if the 1st card 4001 is { bonus bstr, 100; }

2nd card 4002 is { bonus bagi, 100; }

3rd card 4003 is { bonus bvit, 100; }

4th card 4004 is { bonus bint, 100; }

if ( isequippedcnt( 4001,4002,4003,4004 ) <= 2 ) {
bonus bstr, 100;
bonus bagi, 100;
bonus bvit, 100;
bonus bint, 100;
}

which one to remove if I equipped only 4003,4004 ? or if I equipped 4002,4003 ?

or you mean something like this ?

if ( isequippedcnt( 4001,4002 ) <= 2 ) {
bonus bstr, 100;
bonus bagi, 100;
}
else if ( isequippedcnt( 4001,4003 ) <= 2 ) {
bonus bstr, 100;
bonus bvit, 100;
}
else if ( isequippedcnt( 4001,4004 ) <= 2 ) {
bonus bstr, 100;
bonus bint, 100;
}

laughable method ... lol

if multiple cards combine effect, I still suggest using nude;

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

erm..the method i use... will disable the effect of all equipped card ( specified in the list ) when they have equipped more than 2 of these card....

player will have to unequipment some of other cards so that the card effect will back activated.

the effect will be able to activate when they equipped 2 or less of the specific card...

if equipped more than 2....all card effect will gone....

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

move to database request

any example ?

please don't be like @Myzter only give facts ... lol

what I mean is,

( isequippedcnt(4001) <= 2 )

only works when there's only 1 card inside

more than 1 kind, use *nude

every cards has different bonus ...

( isequippedcnt(4001,4002,4003) <= 2 )

..... < What to put here ? >.....

this is the one I don't understand

can show me an example ?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Owh...my idea was doing it like this...

let take Lord Knight Card as example...

Original Script....

4357,B_Seyren_Card,Lord Knight Card,6,20,,10,,,,,,,,769,,,,,{ skill "LK_BERSERK",1; bonus bMaxHPrate,-50; },{},{}

When users try to restrict Lord Knight Card .. cant use combo with... MasterSmith Card ....

Original Script....

4361,B_Harword_Card,MasterSmith Card,6,20,,10,,,,,,,,2,,,,,{ bonus bBreakWeaponRate,1000; bonus bBreakArmorRate,700; },{},{}

so, Lord Knight Card script will be changed..and edit to this..

Edited Script :

4357,B_Seyren_Card,Lord Knight Card,6,20,,10,,,,,,,,769,,,,,{ if( isequippedcnt(4357,4361) < 2 ){ skill "LK_BERSERK",1; bonus bMaxHPrate,-50; } },{},{}

so the Lord Knight Card will have effect as long as its not equipped with MasterSmith Card together.....

it's just like this...

if( isequippedcnt(4001) <= 2 ){  Original Script Effect }
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

4001,.....,{ if ( isequippedcnt( 4001,4002,4003,4004 ) <= 2 ) { bonus bstr, 100; } },{},{}

4002,.....,{ if ( isequippedcnt( 4001,4002,4003,4004 ) <= 2 ) { bonus bagi, 100; } },{},{}

4003,.....,{ if ( isequippedcnt( 4001,4002,4003,4004 ) <= 2 ) { bonus bdex, 100; } },{},{}

4004,.....,{ if ( isequippedcnt( 4001,4002,4003,4004 ) <= 2 ) { bonus bvit, 100; } },{},{}

yeah ... LOL its working,

I wonder why I never thought about this before x.x

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

yup....you are right...xD

I wonder why I never thought about this before x.x

perhap you just forgotten about this....haha

well, sometime...i also cant write for a simple script...because i think too much of "idea" to add into a simple script..and i end up failed to write the script..LOL

the only problem for player is....they might not noticed that the card effect has been nullified...

if using the method Annie provided... they will notice it..because their equipments will be take off..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.01
  • Content Count:  134
  • Reputation:   1
  • Joined:  09/29/12
  • Last Seen:  

yup....you are right...xD

I wonder why I never thought about this before x.x

perhap you just forgotten about this....haha

well, sometime...i also cant write for a simple script...because i think too much of "idea" to add into a simple script..and i end up failed to write the script..LOL

the only problem for player is....they might not noticed that the card effect has been nullified...

if using the method Annie provided... they will notice it..because their equipments will be take off..

can you do this to my kiel d-01 item script pleasee :C

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...