BBS:      TELESC.NET.BR
Assunto:  src/doors/clans-src/release/player.txt prompt.md src/doors/clans-src/s
De:       Deuc¨
Data:     Wed, 11 Mar 2026 17:50:55 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/955423ce96a25538137f4c32
Modified Files:
	src/doors/clans-src/release/player.txt prompt.md src/doors/clans-src/src/voting.c
Log Message:
Fix ChooseNewLeader() off-by-one and add Charisma tiebreaking

NumTied was iTemp-1 (off by one): a 2-way tie always picked the
first sorted candidate (no randomness), and an N-way tie could
never select the last candidate.

Tied elections now compare effective Charisma member-slot by
member-slot (leader first) via GetClan()/GetStat(), falling back
to my_random() only when all tied clans have identical Charisma
at every slot.

Document the new behaviour in player.txt (sections 6.1 and 12.6)
and add a gameplay note to the Charisma design guidance in
prompt.md.

Co-Authored-By: Claude Sonnet 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]