Rejack

Untitled

Feb 28th, 2017 (edited)
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.30 KB | None | 0 0
  1. /*
  2.  * @function    register_card( const cardname[], const description[], card_type, common_MaxLevels, rare_MaxLevels, epic_MaxLevels, leg_MaxLevels, Float: common_PerLevel, Float: common_PerLevel2, Float: rare_PerLevel, Float: rare_PerLevel2, Float: epic_PerLevel, Float: epic_PerLevel2, Float: leg_PerLevel, Float: leg_PerLevel2 )
  3.  * @info    Register a new card
  4.  *
  5.  * @params  card_name       - The name you want to give your card
  6.  *      card_description    - The cards description
  7.  *      card_category       - The category to which the card belongs (Offensive, Defensive, etc..)
  8.  *      card_rarity     - Amount of levels the card will have in RARE rarity
  9.  *      card_max_levels - Amount of levels the card will have in COMMON rarity
  10.  *      Float: card_per_level   - Intervals between each card level on - common card
  11.  *      Float: card_per_level2  - Same as 'common_PerLevel', this is just in case the card holds 2 bonuses
  12.  *     
  13.  * @example register_card( "Damage Card", "Bonus damage with each attack.", OFFENSIVE_CARDS, 12,9,6,3, 1.0,0.0, 2.0,0.0, 4.0,0.0, 10.0,0.0 )
  14.  *
  15.  * @return  Returns the number of characters stored into the output string
  16. */
  17.  
  18. native  register_card( const card_name[ ], const card_description[ ], card_category = OFFENSIVE, card_rarity = COMMON, card_max_levels = 12, Float: card_per_level = 1.0 , Float: card_per_level2 = 0.0 );
Advertisement
Add Comment
Please, Sign In to add comment