Jump to content
  • 0

MVP card limit usage by points


Quicksilver

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

I've been reading this topic from eathena.

http://www.eathena.w...howtopic=274457

I was wondering if i can tweak this up to have the features below:

  • Can add cards on the array and that card has a certain point. Say for example a Fabre Card which I delegate 1 point.
  • Cards which have a great effect when equipped say Vesper Card has higher points say 5 for example.
  • These cards which have points delegated to them will be read by the function attached to the card by their OnEquip_Script & OnUnequip_Script.
  • OnEquip_Script: The function will add the points that it will calculate from the equipment that is being equipped say: When a player equips a weapon with 2 Fabre Cards in anywhere of the weapon's slots a dispbottom function will display "You have accumulated 2 points in your card limit points total." Equiping a headgear with Vesper Card after equipping the Double Vital weapon will show another dispbottom function stating the addition of 5 points to the total limit like this: "You have accumulated 7 points in your card limit points total." Since 2 Fabre Cards + 1 Vesper Card is equals to (2 x 1 point) + 5 points = 7 points total.
  • OnUnequip_Script: In contrast to the OnEquip_Script, the function will subtract your total card points when you unequipped an equipment with cards that have points assigned to them. Say, taking into consideration that you have equipped the latter items of 7 points in total, you removed the Double Vital weapon. The total points left is 5 for the Vesper Card that remained equipped. Same thing, a dispbottom function will display "You have accumulated 5 points in your card limit points total."
  • There will be of course a limit to the total points for example i take 15 as the ceiling number or max points of cards a character can carry and add another card say: Fallen Bishop Hibram Card for example with 10 points assigned to it. With 7 points in total and you equip a shoe with a Fallen Bishop Hibram Card attached to it, a dispbottom function will display something like "Equipping this item is not allowed since this will exceed the allowable card points limit" since 7+10 = 17 which is greater than the 15 point limit and will restrict the player to equip the item.

bump

bump

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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