Download
(2 Kb)
Download
Updated: 10/31/18 11:54 AM
Compatibility:
Murkmire (4.2)
Wolfhunter (4.1)
Summerset (4.0)
Dragon Bones (3.3)
Clockwork City (3.2)
Updated:10/31/18 11:54 AM
Created:01/07/18 09:05 PM
Monthly downloads:11
Total downloads:2,945
Favorites:1
MD5:
Empyrean Dice
Version: 4.2
by: manaphoenix [More]
Empyrean dice is roller with a variable amount of dice up to 9 number long digits!

The addon has 3 commands

/rolltog - Toggles the dice roller on and off (default: on)
/rollmode - Changes output mode (0 = client only, 1 = Text Bar input,2 = Send to group) [Default: 2]
/roll <dice>d<dice max number>+<number> - rolls the dice. Putting nothing defaults to [1d6]+0
if the + is 0 it is not required.

examples for roll command
/roll 1d6 -- roll one 6 sided dice, add nothing after the roll
/roll 2d3+5 -- roll two 3 sided dice, add 5 after the rolls

Notes:
Mode 2 requires everyone to be in a group
Mode 2 requires everyone in the group to be in the same local area
More specifically the map has to be the same local map. (someone in town and out of town will not work)

Planned Features (maybe):
Gui Elements
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Uploader
Date
3.3
2kB
manaphoenix
01/08/18 11:44 AM
3.2
2kB
01/07/18 09:05 PM


Post A Reply Comment Options
Unread 01/08/18, 11:40 AM  
manaphoenix
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 1
Uploads: 1
First addon yes, and I copied the layout from the MyFirstAddon tutorial; but the only thing i kept was just the skeleton, everything I filled in.
Last edited by manaphoenix : 01/08/18 at 11:42 AM.
Report comment to moderator  
Reply With Quote
Unread 01/08/18, 12:45 AM  
Tactitocalon
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 4
Code:
function DiceRoller:Initialize()
	EVENT_MANAGER:UnregisterForEvent('RollCall', EVENT_ADD_ON_LOADED)
	self.savedVariables = ZO_SavedVars:New("RollSavedVariables", 1, nil, {mode = 2, enabled = true})
	option = self.savedVariables.mode -- Determines push type [0 = client, 1 = text entry, 2 = map ping]
	enabled = self.savedVariables.enabled
  -- ...but we don't have anything to initialize yet. We'll come back to this.
end
I can tell this is your first addon, but you really shouldn't copy paste from other addons.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: