mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Removed deprecated code, renamed "base_damage"/"baseDamage"/"baseDmg" to "power"
This commit is contained in:
@@ -258,9 +258,10 @@ module GameData
|
||||
next if !self.const_get(c).is_a?(Class)
|
||||
next if !self.const_get(c).const_defined?(:DATA_FILENAME)
|
||||
if self.const_get(c).const_defined?(:OPTIONAL) && self.const_get(c)::OPTIONAL
|
||||
next if !safeExists?(self.const_get(c)::DATA_FILENAME)
|
||||
ret.push([self.const_get(c)::DATA_FILENAME, false])
|
||||
else
|
||||
ret.push([self.const_get(c)::DATA_FILENAME, true])
|
||||
end
|
||||
ret.push(self.const_get(c)::DATA_FILENAME)
|
||||
end
|
||||
return ret
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user