Skip to content

StygianTheBest/mod-npcgambler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gambler NPC

This module was created for StygianCore. An AzerothCore 3.3.5a Solo/LAN repack by StygianTheBest | GitHub | Website)

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

  • 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. An AzerothCore 3.3.5a Solo/LAN repack by StygianTheBest | GitHub | Website)

Additional Credits

LICENSE

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

About

Creates an NPC that allows the player to gamble their hard-earned money.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published