diff options
Diffstat (limited to 'debug/a_physique.lua.X')
| -rw-r--r-- | debug/a_physique.lua.X | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/debug/a_physique.lua.X b/debug/a_physique.lua.X new file mode 100644 index 0000000..72ceedd --- /dev/null +++ b/debug/a_physique.lua.X @@ -0,0 +1,58 @@ +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 = ... ] +105 9:[ local _parent_0 = Ability ] >> 7:[ class Physique extends Ability ] +381 12:[ local room = world.player_party.room ] >> 20:[ room = world.player_party.room ] +414 13:[ local my_pos = char.location ] >> 21:[ my_pos = char.location ] +471 14:[ local char_tbl1, char_tbl2 = nil, nil ] >> 23:[ char_tbl1, char_tbl2 = nil, nil ] +519 15:[ for distance = 1, 8 do ] >> 24:[ for distance = 1, 8 ] +528 16:[ char_tbl1 = room:at_location(my_pos + distance) ] >> 25:[ char_tbl1 = room\at_location(my_pos + distance) ] +579 17:[ char_tbl2 = room:at_location(my_pos - distance) ] >> 26:[ char_tbl2 = room\at_location(my_pos - distance) ] +632 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) ] +630 20:[ end ] >> 27:[ if (char_tbl1 and #char_tbl1 > 0) or (char_tbl2 and #char_tbl2 > 0) ] +505 21:[ end ] >> 24:[ for distance = 1, 8 ] +740 24:[ local chars_at_loc = world.room.data.locations[6] ] >> 31:[ chars_at_loc = world.room.data.locations[6] ] +788 25:[ if world.server then ] >> 32:[ if world.server ] +805 26:[ local a_chars_at_loc = { } ] >> 33:[ a_chars_at_loc = {} ] +838 27:[ for _, v in ipairs(chars_at_loc) do ] >> 34:[ for _,v in ipairs(chars_at_loc) ] +864 28:[ table.insert(a_chars_at_loc, world.enemy_party:member(v.uname)) ] >> 35:[ table.insert(a_chars_at_loc,world.enemy_party\member(v.uname)) ] +828 29:[ end ] >> 34:[ for _,v in ipairs(chars_at_loc) ] +930 30:[ chars_at_loc = a_chars_at_loc ] >> 36:[ chars_at_loc = a_chars_at_loc ] +786 31:[ end ] >> 32:[ if world.server ] +962 32:[ local hp_minus ] >> 37:[ hp_minus = () -> ] +962 33:[ hp_minus = function() ] >> 37:[ hp_minus = () -> ] +996 34:[ for _, char in pairs(chars_at_loc) do ] >> 38:[ for _, char in pairs(chars_at_loc) ] +1021 35:[ char:set_field("hp", char.data.hp - 2) ] >> 39:[ char\set_field("hp",char.data.hp - 2) ] +982 36:[ end ] >> 38:[ for _, char in pairs(chars_at_loc) ] +962 37:[ end ] >> 37:[ hp_minus = () -> ] +1063 38:[ if world.server then ] >> 40:[ if world.server ] +1080 39:[ hp_minus() ] >> 41:[ hp_minus! ] +1061 40:[ end ] >> 40:[ if world.server ] +1094 41:[ if world.client then ] >> 42:[ if world.client ] +1111 42:[ ui = ui or require("ui") ] >> 43:[ ui = ui or require "ui" ] +1138 43:[ return ui.tween_hit(char, 2, hp_minus) ] >> 44:[ ui.tween_hit(char,2, hp_minus) ] +1092 44:[ end ] >> 42:[ if world.client ] +276 51:[ _class_0.__parent.__init(self, "Physique", { }) ] >> 15:[ super("Physique",{}) ] +299 52:[ self.requirements = { ] >> 16:[ @requirements = { ] +321 54:[ "status", ] >> 17:[ {"status", "active"}, ] +330 55:[ "active" ] >> 17:[ {"status", "active"}, ] +299 57:[ } ] >> 16:[ @requirements = { ] +115 82:[ self.text = "Physique" ] >> 8:[ @text = "Physique" ] +135 83:[ self.description = "Big ol' muscles" ] >> 9:[ @description = "Big ol' muscles" ] +169 84:[ self.hits_icon = { ] >> 10:[ @hits_icon = {0,0,0,0,0,1,0,0} ] +183 85:[ 0, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,0,0} ] +185 86:[ 0, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,0,0} ] +187 87:[ 0, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,0,0} ] +189 88:[ 0, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,0,0} ] +191 89:[ 0, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,0,0} ] +193 90:[ 1, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,0,0} ] +195 91:[ 0, ] >> 10:[ @hits_icon = {0,0,0,0,0,1,0,0} ] +197 92:[ 0 ] >> 10:[ @hits_icon = {0,0,0,0,0,1,0,0} ] +169 93:[ } ] >> 10:[ @hits_icon = {0,0,0,0,0,1,0,0} ] +201 94:[ self.sprite = "data/strong-man.png" ] >> 11:[ @sprite = "data/strong-man.png" ] +234 95:[ self.speed = 3 ] >> 12:[ @speed = 3 ] +246 96:[ self.distance = 1 ] >> 13:[ @distance = 1 ] +1170 102:[ mod.Tumble = Tumble ] >> 46:[ mod.Tumble = Tumble ] +1191 103:[ return mod ] >> 48:[ mod ] |
