Add new resource for testing
This commit is contained in:
@@ -493,10 +493,10 @@ func _resolve_buff_cost_currency_id(buff: GeneratorBuffData) -> StringName:
|
||||
return GameState.get_currency_id(cost_currency)
|
||||
|
||||
func _resolve_purchase_currency() -> Currency:
|
||||
if data != null and data.purchase_currency != null:
|
||||
return data.purchase_currency
|
||||
if data == null:
|
||||
return null
|
||||
|
||||
return currency
|
||||
return data.purchase_currency
|
||||
|
||||
func _resolve_buff_target_currency_id(buff: GeneratorBuffData) -> StringName:
|
||||
if buff == null:
|
||||
|
||||
Reference in New Issue
Block a user