Phantom suffocating in blocks (NO LITHIUM)
Shaychix opened this issue ยท 1 comments
That is not an incompatibility issue dw. it's an issue on the Phantom origin itself, as it's not coded to be invulnerable to wall damage during phantomise.
Below follows the code for a fix to it by adding wall damage invulnerability whilst on phase
you can use winrar to open jar files without decompressing them
- open the mod jar, go to
data\origins\powers
- create a file called
phase_fix.json
there with the json below: - then go to
..\origins\phantom.json
and addorigins:phase_fix
to the powers list - then bam, should be fixed!
{
"type": "origins:multiple",
"hidden": true,
"invulnerabilities": {
"type": "origins:invulnerability",
"condition": {
"type": "origins:power_active",
"power": "*:phantomize"
},
"damage_condition": {
"type": "origins:or",
"conditions": [
{
"type": "origins:name",
"name": "inWall"
},
{
"type": "origins:name",
"name": "cramming"
}
]
}
}
}