Jump to content
  • 0

Maya Purple Card


syndrome93

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  09/08/13
  • Last Seen:  

Original: Enables the use of [Intravision]. Intravision allows you to see hidden enemies.


Modified: Enables the use of [Intravision]. Intravision allows you to see hidden enemies for a duration of 10 seconds. The cooldown is 60 seconds.

 

 

hello.. how to make a item script card like that.. thx  before..

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

use bonus_script in item script.

D:\rathena\doc\script_commands.txt line 5917

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  09/08/13
  • Last Seen:  

1 hour ago, Start_ said:

use bonus_script in item script.

D:\rathena\doc\script_commands.txt line 5917

not usable item. but the maya purple card when i wear it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

Not enough information.
does it tick every minute or you use something to enable the 10 seconds?

Link to comment
Share on other sites

  • -1

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   63
  • Joined:  04/29/19
  • Last Seen:  

Intravision:
if (@i < 18000) {
    sc_start SC_Intravision,10000,0;
    set @i, @i +1;
    callsub Intravision;
}

Perhaps a function in the item will solve the problem.
I didn't test it ... But I found the idea interesting.
Could anyone show a better way to apply this effect?

@edit

Maybe works...

 

4198,Maya_Puple_Card,Maya Purple Card,6,20,,10,,,,,,,,769,,,,,{ callfunc "Intravision"; },{},{ sc_end SC_Intravision; }

-	script	Intravision	-1,{
Intravision:
sc_start SC_Intravision,10000,0; 
sleep 30000;
goto Intravision;
end;
}

 

Edited by Gladius
Link to comment
Share on other sites

  • -1

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

// trigger when attacking ...
autobonus "{ sc_start SC_Intravision,10000,0; }",1000,60000;
// trigger when attacked ...
autobonus2 "{ sc_start SC_Intravision,10000,0; }",1000,60000;

 

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