uspgamedev / backdoor

A deck-building roguelike cyberpunk game.
GNU General Public License v3.0
24 stars 4 forks source link

Description of card "Fix Turret" crashes the game #1213

Open rilifon opened 5 years ago

rilifon commented 5 years ago
Error: domain/definitions/attribute.lua:14: attempt to perform arithmetic on local 'base' (a nil value)
stack traceback:
    [string "boot.lua"]:637: in function '__add'
    domain/definitions/attribute.lua:14: in function 'EFFECTIVE_POWER'
    domain/effects/heal.lua:16: in function '_NOPREVIEW'
    domain/ability.lua:123: in function 'preview'
    domain/card.lua:218: in function 'getEffect'
    view/helpers/card.lua:46: in function 'drawInfo'
    view/consumelist.lua:368: in function 'drawCardDesc'
    view/consumelist.lua:344: in function 'drawCards'
    view/consumelist.lua:283: in function 'draw'
    draw.lua:25: in function 'DrawTable'
    draw.lua:61: in function 'allTables'
    gamestates/open_pack.lua:127: in function 'draw'
    main.lua:105: in function 'draw'
    libs/steaming/res_manager.lua:62: in function 'draw'
    [string "boot.lua"]:513: in function <[string "boot.lua"]:493>
    [C]: in function 'xpcall'
Kazuo256 commented 5 years ago

Moving to 0.4.x because this card will not be on 0.3.x