Origins (Forge)

Origins (Forge)

7M Downloads

[1.16.5 Issue] Sub-Power that I'm certain should be working keeps coming up as null.

Darkmega18 opened this issue ยท 1 comments

commented

As part of a "multiple" power. I have a sub-skill that goes something like this:

"token_condense": {
"type": "origins:active_self",
"condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:equipped_item",
"equipment_slot": "offhand",
"item_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:ingredient",
"ingredient": {
"item": "bountifulbaubles:spectral_silt"
}
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 20
}
]
}
},
{
"type": "origins:equipped_item",
"equipment_slot": "mainhand",
"item_condition": {
"type": "origins:ingredient",
"ingredient": {
"item": "tombstone:strange_tablet"
}
}
},
{
"type": "origins:sneaking"
}
]
},
"entity_action": {
"type": "origins:and",
"actions": [
{
"type": "origins:equipped_item_action",
"equipment_slot": "offhand",
"action": {
"type": "origins:consume",
"amount": 20
}
},
{
"type": "origins:equipped_item_action",
"equipment_slot": "mainhand",
"action": {
"type": "origins:consume",
"amount": 1
}
},
{
"type": "origins:play_sound",
"sound": "projecte:transmute"
},
{
"type": "origins:execute_command",
"command": "particle mowziesmobs:sparkle ~ ~ ~ 3 3 3 0.05 500 force"
},
{
"type": "origins:give",
"stack": {
"item": "bountifulbaubles:resplendent_token",
"amount": 1
}
}
]
},
"key": {
"key": "key.attack"
},
"cooldown": 100,
"hud_render": {
"should_render": false
}
},

it's meant to take atleast 20 spectral silts in the offhand and a tombstone tablet in the main hand and when you shift and click the tablet it smooshes them into a resplendent token with some particles and effects.

the problem is. the power comes up as null in my console. I've gone over it again and again and I can't pinpoint what I screwed up.

But I DO KNOW that taking away the and conditioning in the offhand spectral silts and making it only require that the offhand is spectra silt in a similar way that the tablet is working DOES infact work just fine. of course, eating 20 silt even if theres only one.

So what I'm wondering, is this a weird actual bug issue I've come across, or am I doing something quite wrong here? I've consulted the wiki and re-read every single portion of my skill here. But as I found out the only thing wrong with it is infact the origins:and conditions that I use to check theres spectral silt x20 in the offhand.

What is going wrong?

commented

image

Guess I'll die. X_X