mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-23 07:37:46 +00:00
This adds the necessary infrastructure to add actions that deal damage to enemies, and tests this through the new effects builder exposed through Lua.
9 lines
179 B
Lua
9 lines
179 B
Lua
function doAction(player)
|
|
effects = EffectsBuilder()
|
|
|
|
-- TODO: go through effectsbuilder
|
|
-- give sprint
|
|
player:give_status_effect(50, 5.0)
|
|
|
|
return effects
|
|
end
|