improve docs and remove irrelevant example

This commit is contained in:
Evil Factory
2022-02-02 22:42:03 -03:00
parent 53231347bb
commit 438070a81f
2 changed files with 1 additions and 24 deletions
+1 -8
View File
@@ -78,14 +78,7 @@ end)
## How do i give a character a certain affliction
```lua
local burnPrefab
for k, v in pairs(AfflictionPrefab.ListArray) do
if v.Identifier == "burn" then
burnPrefab = v
break
end
end
local burnPrefab = AfflictionPrefab.Prefabs["burn"]
local char = Character.CharacterList[1]
local limb = char.AnimController.MainLimb