1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
Pos Lua >> Moon
1 1:[ local reg = require("ability_reg") ] >> 1:[ reg = require "ability_reg" ]
48 3:[ Ability = reg.Ability ] >> 2:[ import Ability from reg ]
72 7:[ local _parent_0 = Ability ] >> 4:[ class Mope extends Ability ]
345 10:[ local room = world.player_party.room ] >> 18:[ room = world.player_party.room ]
378 11:[ local enemy_party = room.parties[1] ] >> 19:[ enemy_party = room.parties[1] ]
412 12:[ if enemy_party == party then ] >> 20:[ if enemy_party == party ]
437 13:[ enemy_party = room.parties[2] ] >> 21:[ enemy_party = room.parties[2] ]
410 14:[ end ] >> 20:[ if enemy_party == party ]
498 17:[ local chars_at_loc = world.room.data.locations[4] ] >> 23:[ chars_at_loc = world.room.data.locations[4] ]
546 18:[ if world.server then ] >> 24:[ if world.server ]
563 19:[ local a_chars_at_loc = { } ] >> 25:[ a_chars_at_loc = {} ]
596 20:[ for _, v in ipairs(chars_at_loc) do ] >> 26:[ for _,v in ipairs(chars_at_loc) ]
622 21:[ table.insert(a_chars_at_loc, world.player_party:member(v.uname)) ] >> 27:[ table.insert(a_chars_at_loc,world.player_party\member(v.uname)) ]
586 22:[ end ] >> 26:[ for _,v in ipairs(chars_at_loc) ]
689 23:[ chars_at_loc = a_chars_at_loc ] >> 28:[ chars_at_loc = a_chars_at_loc ]
544 24:[ end ] >> 24:[ if world.server ]
721 25:[ local hp_minus ] >> 29:[ hp_minus = () -> ]
721 26:[ hp_minus = function() ] >> 29:[ hp_minus = () -> ]
755 27:[ for _, char in pairs(chars_at_loc) do ] >> 30:[ for _, char in pairs(chars_at_loc) ]
780 28:[ char:set_field("hp", char.data.hp - 2) ] >> 31:[ char\set_field("hp",char.data.hp - 2) ]
741 29:[ end ] >> 30:[ for _, char in pairs(chars_at_loc) ]
721 30:[ end ] >> 29:[ hp_minus = () -> ]
822 31:[ if world.server then ] >> 32:[ if world.server ]
839 32:[ hp_minus() ] >> 33:[ hp_minus! ]
820 33:[ end ] >> 32:[ if world.server ]
853 34:[ if world.client then ] >> 34:[ if world.client ]
870 35:[ local ui = ui or require("ui") ] >> 35:[ ui = ui or require "ui" ]
897 36:[ return ui.tween_hit(char, 1, hp_minus) ] >> 36:[ ui.tween_hit(char,1, hp_minus) ]
851 37:[ end ] >> 34:[ if world.client ]
942 40:[ return print("TODO!") ] >> 38:[ print("TODO!") ]
974 43:[ return print("TODO!") ] >> 41:[ print("TODO!") ]
195 50:[ _class_0.__parent.__init(self, ...) ] >> 11:[ super(...) ]
208 51:[ self.requirements = { ] >> 12:[ @requirements = { ]
230 53:[ "consume_stat", ] >> 13:[ {"consume_stat", "stamina", 1}, ]
245 54:[ "stamina", ] >> 13:[ {"consume_stat", "stamina", 1}, ]
256 55:[ 1 ] >> 13:[ {"consume_stat", "stamina", 1}, ]
265 58:[ "status", ] >> 14:[ {"status", "active"}, ]
274 59:[ "active" ] >> 14:[ {"status", "active"}, ]
290 62:[ "distance", ] >> 15:[ {"distance", 1}, ]
301 63:[ 1 ] >> 15:[ {"distance", 1}, ]
208 65:[ } ] >> 12:[ @requirements = { ]
82 90:[ self.text = "Mope" ] >> 5:[ @text = "Mope" ]
98 91:[ self.description = "mope" ] >> 6:[ @description = "mope" ]
121 92:[ self.hits_icon = { ] >> 7:[ @hits_icon = {0,0,0,1,0,0,0,0} ]
135 93:[ 0, ] >> 7:[ @hits_icon = {0,0,0,1,0,0,0,0} ]
137 94:[ 0, ] >> 7:[ @hits_icon = {0,0,0,1,0,0,0,0} ]
139 95:[ 0, ] >> 7:[ @hits_icon = {0,0,0,1,0,0,0,0} ]
141 96:[ 1, ] >> 7:[ @hits_icon = {0,0,0,1,0,0,0,0} ]
143 97:[ 0, ] >> 7:[ @hits_icon = {0,0,0,1,0,0,0,0} ]
145 98:[ 0, ] >> 7:[ @hits_icon = {0,0,0,1,0,0,0,0} ]
147 99:[ 0, ] >> 7:[ @hits_icon = {0,0,0,1,0,0,0,0} ]
149 100:[ 0 ] >> 7:[ @hits_icon = {0,0,0,1,0,0,0,0} ]
121 101:[ } ] >> 7:[ @hits_icon = {0,0,0,1,0,0,0,0} ]
153 102:[ self.speed = 5 ] >> 8:[ @speed = 5 ]
165 103:[ self.distance = 1 ] >> 9:[ @distance = 1 ]
|