Jump to content
  • 0

How to modify consumption sp of a card effect.


NoWayHome

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  19
  • Reputation:   0
  • Joined:  02/23/22
  • Last Seen:  

Hi, 

I am look for help about how to modify consumption sp of a card effect.

1) Creamy Card : Teleport lv1 (SP:10)

I want to change the SP:10 to SP:60 but not affect the effect of Acolyte.

Any idea?

 

P/S: If Iam in the wrong section please move me to the correct section. Thank you very much! Sorry for my bad english

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

Clone the skill Teleport
or simply add this script to Creamy Card

 

itemheal 0,-50;

Teleport SP 10 + 50 of itemheal = 60.

Edited by cook1e
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   46
  • Joined:  07/15/13
  • Last Seen:  

  - Id: 4040
    AegisName: Creamy_Card
    Name: Creamy Card
    Type: Card
    Buy: 20
    Weight: 10
    Locations:
      Both_Accessory: true
    Flags:
      BuyingStore: true
    Script: |
      .@eac = eaclass();
      if ((.@eac&EAJ_BASEMASK) == EAJ_ACOLYTE) { skill "AL_TELEPORT",1; } else { skill "AL_TELEPORT",1; bonus2 bSkillUseSP,"AL_TELEPORT",-50; }

 

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