Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * @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 )
- * @info Register a new card
- *
- * @params card_name - The name you want to give your card
- * card_description - The cards description
- * card_category - The category to which the card belongs (Offensive, Defensive, etc..)
- * card_rarity - Amount of levels the card will have in RARE rarity
- * card_max_levels - Amount of levels the card will have in COMMON rarity
- * Float: card_per_level - Intervals between each card level on - common card
- * Float: card_per_level2 - Same as 'common_PerLevel', this is just in case the card holds 2 bonuses
- *
- * @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 )
- *
- * @return Returns the number of characters stored into the output string
- */
- 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