Spaces:
PickMyNick
/
No application file

PickMyNick commited on
Commit
b65af5c
·
verified ·
1 Parent(s): 232cc1e

burns player instead

Browse files
Files changed (1) hide show
  1. cubzh.lua +3 -3
cubzh.lua CHANGED
@@ -200,16 +200,16 @@ local skills = {
200
  },
201
  {
202
  name = "BURN",
203
- description = "Makes you 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(npc)
211
 
212
- dialog:create("Now I'm burning!", npc.avatar.Head)
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
  },