You've already forked ComfyFactorio
mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-11-27 22:38:18 +02:00
new module and changes to rpg and mtn v3
This commit is contained in:
@@ -910,12 +910,12 @@ local function on_player_used_capsule(event)
|
||||
right_bottom = {x = position.x + radius, y = position.y + radius}
|
||||
}
|
||||
|
||||
if rpg_t.level < spell.level then
|
||||
if not spell.enabled then
|
||||
return Public.cast_spell(player, true)
|
||||
end
|
||||
|
||||
if not spell.enabled then
|
||||
return
|
||||
if rpg_t.level < spell.level then
|
||||
return Public.cast_spell(player, true)
|
||||
end
|
||||
|
||||
if not Math2D.bounding_box.contains_point(area, player.position) then
|
||||
|
||||
Reference in New Issue
Block a user