Pos Lua >> Moon 1 1:[ local reg = require("ability_reg") ] >> 1:[ reg = require "ability_reg" ] 29 2:[ local ui = require("ui") ] >> 2:[ ui = require "ui" ] 66 4:[ Ability = reg.Ability ] >> 3:[ import Ability from reg ] 72 5:[ local mod = ... ] >> 5:[ mod = ... ] 102 9:[ local _parent_0 = Ability ] >> 7:[ class Dance extends Ability ] 376 12:[ local room = world.player_party.room ] >> 20:[ room = world.player_party.room ] 409 13:[ local my_pos = char.location ] >> 21:[ my_pos = char.location ] 466 14:[ local char_tbl1, char_tbl2 = nil, nil ] >> 23:[ char_tbl1, char_tbl2 = nil, nil ] 514 15:[ for distance = 1, 8 do ] >> 24:[ for distance = 1, 8 ] 523 16:[ char_tbl1 = room:at_location(my_pos + distance) ] >> 25:[ char_tbl1 = room\at_location(my_pos + distance) ] 574 17:[ char_tbl2 = room:at_location(my_pos - distance) ] >> 26:[ char_tbl2 = room\at_location(my_pos - distance) ] 627 18:[ if (char_tbl1 and #char_tbl1 > 0) or (char_tbl2 and #char_tbl2 > 0) then ] >> 27:[ if (char_tbl1 and #char_tbl1 > 0) or (char_tbl2 and #char_tbl2 > 0) ] 625 20:[ end ] >> 27:[ if (char_tbl1 and #char_tbl1 > 0) or (char_tbl2 and #char_tbl2 > 0) ] 500 21:[ end ] >> 24:[ for distance = 1, 8 ] 745 24:[ for _, i in pairs({ ] >> 31:[ for _,i in pairs({6,7}) ] 753 25:[ 6, ] >> 31:[ for _,i in pairs({6,7}) ] 755 26:[ 7 ] >> 31:[ for _,i in pairs({6,7}) ] 745 27:[ }) do ] >> 31:[ for _,i in pairs({6,7}) ] 762 28:[ local chars_at_loc = world.room.data.locations[i] ] >> 32:[ chars_at_loc = world.room.data.locations[i] ] 811 29:[ if world.server then ] >> 33:[ if world.server ] 829 30:[ local a_chars_at_loc = { } ] >> 34:[ a_chars_at_loc = {} ] 863 31:[ for _, v in ipairs(chars_at_loc) do ] >> 35:[ for _,v in ipairs(chars_at_loc) ] 890 32:[ table.insert(a_chars_at_loc, world.enemy_party:member(v.uname)) ] >> 36:[ table.insert(a_chars_at_loc,world.enemy_party\member(v.uname)) ] 853 33:[ end ] >> 35:[ for _,v in ipairs(chars_at_loc) ] 957 34:[ chars_at_loc = a_chars_at_loc ] >> 37:[ chars_at_loc = a_chars_at_loc ] 809 35:[ end ] >> 33:[ if world.server ] 990 36:[ local hp_minus ] >> 38:[ hp_minus = () -> ] 990 37:[ hp_minus = function() ] >> 38:[ hp_minus = () -> ] 1025 38:[ for _, char in pairs(chars_at_loc) do ] >> 39:[ for _, char in pairs(chars_at_loc) ] 1051 39:[ char:set_field("hp", char.data.hp - 1) ] >> 40:[ char\set_field("hp",char.data.hp - 1) ] 1011 40:[ end ] >> 39:[ for _, char in pairs(chars_at_loc) ] 990 41:[ end ] >> 38:[ hp_minus = () -> ] 1094 42:[ if world.server then ] >> 41:[ if world.server ] 1112 43:[ hp_minus() ] >> 42:[ hp_minus! ] 1092 44:[ end ] >> 41:[ if world.server ] 1127 45:[ if world.client then ] >> 43:[ if world.client ] 1145 46:[ ui = ui or require("ui") ] >> 44:[ ui = ui or require "ui" ] 1173 47:[ ui.tween_hit(char, 1, hp_minus) ] >> 45:[ ui.tween_hit(char,1, hp_minus) ] 1125 48:[ end ] >> 43:[ if world.client ] 735 49:[ end ] >> 31:[ for _,i in pairs({6,7}) ] 274 56:[ _class_0.__parent.__init(self, "Dance", { }) ] >> 15:[ super("Dance",{}) ] 294 57:[ self.requirements = { ] >> 16:[ @requirements = { ] 316 59:[ "status", ] >> 17:[ {"status", "active"}, ] 325 60:[ "active" ] >> 17:[ {"status", "active"}, ] 294 62:[ } ] >> 16:[ @requirements = { ] 112 87:[ self.text = "Dance" ] >> 8:[ @text = "Dance" ] 129 88:[ self.description = "Shake your body!" ] >> 9:[ @description = "Shake your body!" ] 164 89:[ self.hits_icon = { ] >> 10:[ @hits_icon = {0,0,0,0,0,1,1,0} ] 178 90:[ 0, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,1,0} ] 180 91:[ 0, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,1,0} ] 182 92:[ 0, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,1,0} ] 184 93:[ 0, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,1,0} ] 186 94:[ 0, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,1,0} ] 188 95:[ 1, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,1,0} ] 190 96:[ 1, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,1,0} ] 192 97:[ 0 ] >> 10:[ @hits_icon = {0,0,0,0,0,1,1,0} ] 164 98:[ } ] >> 10:[ @hits_icon = {0,0,0,0,0,1,1,0} ] 196 99:[ self.sprite = "data/body-balance.png" ] >> 11:[ @sprite = "data/body-balance.png" ] 231 100:[ self.speed = 7 ] >> 12:[ @speed = 7 ] 244 101:[ self.distance = 1 ] >> 13:[ @distance = 1 ] 1205 107:[ mod.Tumble = Tumble ] >> 47:[ mod.Tumble = Tumble ] 1226 108:[ return mod ] >> 49:[ mod ]