1
0
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:
Gerkiz
2022-07-19 00:25:42 +02:00
parent 1f03bcec9e
commit 664b400198
12 changed files with 692 additions and 23 deletions

View File

@@ -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