#384 Grouped mob loot

닫힘
neatz092 년 전을 오픈 · 1개의 코멘트
neatz09 코멘트됨, 2 년 전

Grouped mobs should only drop chests after the entire encounter has been defeated.

-- this may only pertain to named mobs need to do more research

Grouped mobs should only drop chests after the entire encounter has been defeated. -- this may only pertain to named mobs need to do more research
image 코멘트됨, 1 년 전
협업자

Adding a new column to the spawn table:

alter table spawn add column loot_drop_type int(10) unsigned not null default 0;

  • loot_drop_type of 0 means spawn will when part of an encounter transfer its loot to the next alive spawn.
  • loot_drop_type of 1 means the spawn will drop its own loot when it dies (like a named mob ideally).
  • These changes do not change body drops which remain on the spawn/npc that dies, not transferred.
  • loot and chest drops have been expanded beyond NPC's which means potential PVP support or even other types of spawns can drop loot/chests (probably expand loot_drop_type at a later time for more options in this area). Need lua interface support (when player dies and all that) issue #436 opened for it.
  • some additional mutex lock protections on spawn loot
  • SetLootTier(loot_tier) and GetLootTier(), SetLootDropType(drop_type) and GetLootDropType() added to lua
Adding a new column to the spawn table: alter table spawn add column loot_drop_type int(10) unsigned not null default 0; - loot_drop_type of 0 means spawn will when part of an encounter transfer its loot to the next alive spawn. - loot_drop_type of 1 means the spawn will drop its own loot when it dies (like a named mob ideally). - These changes do not change body drops which remain on the spawn/npc that dies, not transferred. - loot and chest drops have been expanded beyond NPC's which means potential PVP support or even other types of spawns can drop loot/chests (probably expand loot_drop_type at a later time for more options in this area). Need lua interface support (when player dies and all that) issue #436 opened for it. - some additional mutex lock protections on spawn loot - SetLootTier(loot_tier) and GetLootTier(), SetLootDropType(drop_type) and GetLootDropType() added to lua
image 커밋 1 년 전에서 이 이슈 언급
image 1 년 전가 Close
로그인하여 이 대화에 참여
로딩중...
취소
저장
아직 콘텐츠가 없습니다.