/mod-npc-gambler

Primary LanguageC++GNU Affero General Public License v3.0AGPL-3.0

logo AzerothCore

Gambler NPC

  • Latest build status with azerothcore:

Build Status

This module was created for StygianCore. A World of Warcraft 3.3.5a Solo/LAN repack by StygianTheBest | GitHub | Website) This module has now being ported to AzerothCore by gtao725 (https://github.com/gtao725/).

Description

Hey, the name's Skinny. You feelin' lucky? This NPC will allow players to gamble copper, silver, or gold as defined in the configuration. It's a nice way for players to make a little extra coin.

  • Config:
    • Set bet and jackpot amounts
    • Enable/Disable coin type (gold, silver, copper)
    • Set coin type to gamble
  • A roll of 50 or higher wins double the bet!
  • A roll of less than 50 loses double the bet!
  • A roll of 100 within the first 10 rolls hits the jackpot!
  • The jackpot can only be hit in the first 10 rolls of each session to discourage spam.
  • A little help is given to players losing 5 rolls in a row.

To-Do

  • Track and display jackpot winners/dates.
  • Create lottery from player losses.

Data

  • Type: NPC
  • Script: gamble_npc
  • Config: Yes
  • SQL: Yes
    • NPC ID: 601020

Version

  • v2024.04.05 - Update the module to work with the latest version of the emulator
  • v2019.04.17 - Fix display of win/lose amount for values 100 or above, applicable to copper/silver/gold
  • v2019.04.15 - Ported to AzerothCore by gtao725 (https://github.com/gtao725/)
  • v2019.02.13 - Redesign, Add Coin Type Options, Update AI
  • v2018.12.09 - Update config
  • v2017.08.10 - Release

CREDITS

Styx StygianCore

This module was created for StygianCore. A World of Warcraft 3.3.5a Solo/LAN repack by StygianTheBest | GitHub | Website)

Additional Credits

LICENSE

This code and content is released under the GNU AGPL v3.