1. Fix Elemental Monster Spawn randomly with Element=6
2. Fix Shop Mithril and Mithril Fragment
Files update:
- gObjMonster.cpp
- MonsterSetBase.cpp
- PentagramSystem.cpp
- PentagramSystem.h
- Shop.cpp
Copy to your GameServer source code then rebuild.
Example Monster spawn config:
<Spawn Index="670" Distance="5" StartX="194" StartY="26" EndX="198" EndY="26" Dir="-1" Count="5" Element="
6" />
Example Shop config:
<!-- Mithril Fragment -->
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="
1" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="
2" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="
3" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="
4" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="
5" Serial="0" />
<!-- Mithril -->
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="
1" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="
2" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="
3" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="
4" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="
5" Serial="0" />