The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

评价数不足
Deal API
   
奖励
收藏
已收藏
取消收藏
Tags: Lua
文件大小
发表于
更新日期
63.334 KB
2020 年 5 月 2 日 上午 10:07
2020 年 5 月 3 日 上午 2:10
3 项改动说明 ( 查看 )

订阅以下载
Deal API

描述
Does exactly what it says

Deal:GetChance() returns three float numbers and one bool, floats are for deal chance, angel and devil. Bool is for Duality, used for Antibirth style HUD.

Includes two HUDAPI layout with deal chances.

Enjoy!
9 条留言
im_tem  [作者] 2023 年 8 月 2 日 上午 12:54 
of course not :) altho it might happen half a year later or sometime like this 👀
Snö 2023 年 7 月 3 日 上午 5:06 
Can this also be used to manually set a specific deal chance?
im_tem  [作者] 2020 年 8 月 21 日 下午 1:25 
it should just work
koral 2020 年 8 月 21 日 上午 6:45 
Hi, apologies if this is a dumb question

I'm trying to integrate this into my HUD, is there something I have to do to ensure that there's dependency or something?

Or should calling :

local deal,angel,devil=Deal:GetChance()

just work?

Thanks for your help!
Grease Monkey 2020 年 5 月 8 日 下午 7:47 
check my Account for weird stuff
OneOneDani 2020 年 5 月 4 日 下午 12:42 
Oh that's great!
im_tem  [作者] 2020 年 5 月 4 日 上午 6:11 
This API was meant just to give exact numbers of deal chances (nobody did it before)
OneOneDani 2020 年 5 月 4 日 上午 1:18 
Wait wait wait, does that mean this allows players to edit devil/angel chance? Or more of the fact that you can obtain the percentage and display it in the first place?
☢ Nato Potato ☢ 2020 年 5 月 2 日 下午 6:04 
legend