1
This commit is contained in:
parent
b8c76dc6af
commit
0d1b25df6b
@ -210,6 +210,12 @@ void Buff::ProcBecome(Creature* caster)
|
||||
|
||||
void Buff::ProcRemoveBecome(Creature* caster)
|
||||
{
|
||||
if (!hold_weapons_.empty()) {
|
||||
Weapon* next_weapon = caster->AutoChgWeapon();
|
||||
if (next_weapon) {
|
||||
caster->SetCurrWeapon(next_weapon);
|
||||
}
|
||||
}
|
||||
for (auto& weapon : hold_weapons_) {
|
||||
if (weapon.weapon_idx >= 0 &&
|
||||
weapon.weapon_idx < caster->weapons.size()) {
|
||||
|
@ -2627,6 +2627,9 @@ void Human::RandSkin()
|
||||
} else if (i == 2) {
|
||||
skin_id = 15001 + (rand() % 6);
|
||||
}
|
||||
#if 1
|
||||
skin_id = 1;
|
||||
#endif
|
||||
Skin& skin = skins[i];
|
||||
skin.skin_id = skin_id;
|
||||
skin.skin_lv = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user