Browse Source

helper and groupee are not hashes. They correspond to the group type on the rune.

master
MagicBot 8 months ago
parent
commit
75efa29012
  1. 8
      mbEditorPro2.0/arcane/objects/ArcRune.py

8
mbEditorPro2.0/arcane/objects/ArcRune.py

@ -332,10 +332,10 @@ class ArcRune(ArcItem):
self.rune_enemy_monster_types.append(string_to_hash(monster)) self.rune_enemy_monster_types.append(string_to_hash(monster))
self.rune_groupee_monster_types = [] self.rune_groupee_monster_types = []
for monster in data['rune_groupee_monster_types']: for monster in data['rune_groupee_monster_types']:
self.rune_groupee_monster_types.append(string_to_hash(monster)) self.rune_groupee_monster_types.append(monster)
self.rune_helper_monster_types = [] self.rune_helper_monster_types = []
for monster in data['rune_helper_monster_types']: for monster in data['rune_helper_monster_types']:
self.rune_helper_monster_types.append(string_to_hash(monster)) self.rune_helper_monster_types.append(monster)
self.rune_not_enemy_monster_types = [] self.rune_not_enemy_monster_types = []
for monster in data['rune_not_enemy_monster_types']: for monster in data['rune_not_enemy_monster_types']:
self.rune_not_enemy_monster_types.append(string_to_hash(monster)) self.rune_not_enemy_monster_types.append(string_to_hash(monster))
@ -422,10 +422,10 @@ class ArcRune(ArcItem):
data['rune_enemy_monster_types'].append(hash_to_string(monster)) data['rune_enemy_monster_types'].append(hash_to_string(monster))
data['rune_groupee_monster_types'] = [] data['rune_groupee_monster_types'] = []
for monster in self.rune_groupee_monster_types: for monster in self.rune_groupee_monster_types:
data['rune_groupee_monster_types'].append(hash_to_string(monster)) data['rune_groupee_monster_types'].append(monster)
data['rune_helper_monster_types'] = [] data['rune_helper_monster_types'] = []
for monster in self.rune_helper_monster_types: for monster in self.rune_helper_monster_types:
data['rune_helper_monster_types'].append(hash_to_string(monster)) data['rune_helper_monster_types'].append(monster)
data['rune_not_enemy_monster_types'] = [] data['rune_not_enemy_monster_types'] = []
for monster in self.rune_not_enemy_monster_types: for monster in self.rune_not_enemy_monster_types:
data['rune_not_enemy_monster_types'].append(hash_to_string(monster)) data['rune_not_enemy_monster_types'].append(hash_to_string(monster))

Loading…
Cancel
Save