CTI 2.Number 0131, wintermute.Core Set.Stroke It!.01.01

Cards from the Core Set set.
Post Reply

Rate this Card

Total votes: 0

0
No votes
★★
0
No votes
★★★
0
No votes
★★★★
0
No votes
★★★★★
0
No votes

CTI 2 Card:

Core Set
Stroke It!

Gender: Neutral ⚲
Card Number: 1
Suffix: 01
Author: Number 0131, wintermute

Downloads: 51
Keys earned: 0.51
  • Copy reference

Uploaded by:

0131
Site Admin
Keys: 239,05 
Posts: 900
Joined: 06 Jun 2015, 18:12
Gender: Female
Type: Switch
Orientation: Bi

Card Creator

Image

Your stroking count is halved.
Tags:
/**Author: Number0131
 * Description:
 * This Cards halves the strokerate
 * The picture is determined by the choosen gender preferences:
 * (Female, Trap, Male)
 * The chance to draw this card gets higher if your stroke/time ratio is high.
 */

package Teaseviewer.Cards.CoreSet.Stroke_It;

import Teaseviewer.CTI2.Mechanics.Tags.MetaDB;
import Teaseviewer.CTI2.Mechanics.Tags.Tag;
import Teaseviewer.CTI2.Mechanics.Tags.TagDB;
import Teaseviewer.CTI2.Mechanics.Tags.Tags;
import Teaseviewer.CTI2.States.CTI_TypeState;
import Teaseviewer.Sets.CoreSet.CardTypes.CTI_Stroke_It;


public class CTI2_CoreSet_Stroke_It_001 extends CTI_Stroke_It{
    
    @Tags(metatags = {
     @Tag(metatags = {MetaDB.DECREASE})
    })
    static String[] tags = new String[]{TagDB.STROKECOUNT};
    
    public  CTI2_CoreSet_Stroke_It_001(){
    super("/Pictures/CTI2.Number 0131.Core Set.Stroke It!.01.png", "Number 0131", "Wintermute");    
    initText("Your stroking count is halved.");
    }

    @Override
    public int chance(){  
    if(slideviewer.getStrokeCount() == 0){ 
    return 0;
    }    
    return (int)Math.min(200,50*slideviewer.getStrokeRatio()); 
    }

    @Override
    public void main() {
    clearState(CTI_TypeState.Stroke_It);
    setStrokeCount(slideviewer.getStrokeCount()/2);  
    }
    
}
Post Reply