Library Of Ruina

Library Of Ruina

Library of Runia Workshop
Custom Head WorkShop_TEST
了解更多
DoT 19 2021 年 10 月 20 日 下午 4:25
Coding
Is there a way to get the code for existing scripts for passives or cards that i can copy into Visual studio to use as examples / alter?

such as getting the script for yan's ominous power card that on play you regain light but lose the next scene, so i can edit it to do only 2 or 1 light

or health hauler so i can change it to 100 per hit instead of 2?


i'm not looking for those specific effects but if someone has a guide or if anyone knows how to do that " if possible" it would be very appriciated
< >
正在显示第 1 - 2 条,共 2 条留言
yarrrr 10 2021 年 10 月 20 日 下午 7:03 
You'll need a software to look into the Assembly.dll file in the game's Data/Managed folder

Personally I use dnSpy (Download link[github.com]) for this.

So in dnSpy after opening the file with it, the relevant code should be under Assembly.dll > - (it's just a line), then it should bring up a list you can look into.

As an example for card abilities, Ominous Power's ability is called
DiceCardSelfAbility_yanInstantEnergy

For passives, Health Hauler is called
PassiveAbility_240016
最后由 yarrrr 编辑于; 2021 年 10 月 20 日 下午 7:13
DoT 19 2021 年 10 月 20 日 下午 7:22 
引用自 yarrrr
You'll need a software to look into the Assembly.dll file in the game's Data/Managed folder

Personally I use dnSpy (Download link[github.com]) for this.

So in dnSpy after opening the file with it, the relevant code should be under Assembly.dll > - (it's just a line), then it should bring up a list you can look into.

As an example for card abilities, Ominous Power's ability is called
DiceCardSelfAbility_yanInstantEnergy

For passives, Health Hauler is called
PassiveAbility_240016


Thanks a lot my friend
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50