Spaces:
No application file
No application file
burns player instead
Browse files
cubzh.lua
CHANGED
|
@@ -200,16 +200,16 @@ local skills = {
|
|
| 200 |
},
|
| 201 |
{
|
| 202 |
name = "BURN",
|
| 203 |
-
description = "Makes
|
| 204 |
parameter_types = {"character"},
|
| 205 |
callback = function(client, action)
|
| 206 |
local npc = client:getNpc(action.character_id)
|
| 207 |
if not npc then print("Can't find npc") return end
|
| 208 |
|
| 209 |
f = fire:create()
|
| 210 |
-
f:SetParent(
|
| 211 |
|
| 212 |
-
dialog:create("Now
|
| 213 |
end,
|
| 214 |
action_format_str = "{protagonist_name} decreased his height by half!"
|
| 215 |
},
|
|
|
|
| 200 |
},
|
| 201 |
{
|
| 202 |
name = "BURN",
|
| 203 |
+
description = "Makes Player be on friendly, cold, tricky fire for couple seconds!",
|
| 204 |
parameter_types = {"character"},
|
| 205 |
callback = function(client, action)
|
| 206 |
local npc = client:getNpc(action.character_id)
|
| 207 |
if not npc then print("Can't find npc") return end
|
| 208 |
|
| 209 |
f = fire:create()
|
| 210 |
+
f:SetParent(Player)
|
| 211 |
|
| 212 |
+
dialog:create("Now You are burning!", npc.avatar.Head)
|
| 213 |
end,
|
| 214 |
action_format_str = "{protagonist_name} decreased his height by half!"
|
| 215 |
},
|