Beispiel #1
0
    public override ItemEffect Create(Character character)
    {
        var itemEffect = DesertContext.StrangeNew <CreateMapAbilityButtonItemEffect>();

        itemEffect.mapAbility = mapAbility.Create(character);
        return(itemEffect);
    }
    public override void Apply(PlayerCharacter playerCharacter)
    {
        var gainer = DesertContext.StrangeNew <MapAbilityGainer>();

        gainer.mapAbility = mapAbility.Create(playerCharacter.GetCharacter());
        gainer.Apply();
    }