Download Lua/CharacterEffectCompositeDef/AI_StatusEachTurn.generated.lua from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 821 Bytes
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/Lua/CharacterEffectCompositeDef/AI_StatusEachTurn.generated.lua
- Command line
-
hf download hf://spaces/sirnii/myspace/Lua/CharacterEffectCompositeDef/AI_StatusEachTurn.generated.lua
-
curl -L -o AI_StatusEachTurn.generated.lua https://huggingface.co/spaces/sirnii/myspace/resolve/main/Lua/CharacterEffectCompositeDef/AI_StatusEachTurn.generated.lua
821 Bytes
| --- | |
| --- Defines a character effect that grants an additional action point to the target unit at the start of each turn. | |
| --- | |
| --- @class AI_StatusEachTurn | |
| --- @field object_class string The class of the object this effect is applied to. | |
| --- @field unit_reactions table A table of unit reactions, including a reaction to the "OnBeginTurn" event that adds the "AI_AdditionalAP" status effect to the target. | |
| -- ========== GENERATED BY CharacterEffectCompositeDef Editor DO NOT EDIT MANUALLY! ========== | |
| UndefineClass('AI_StatusEachTurn') | |
| DefineClass.AI_StatusEachTurn = {__parents={"Perk"}, __generated_by_class="CharacterEffectCompositeDef", | |
| object_class="Perk", unit_reactions={PlaceObj('UnitReaction', {Event="OnBeginTurn", Handler=function(self, target) | |
| target:AddStatusEffect("AI_AdditionalAP") | |
| end})}} | |