Weather

From ArcEmu-Wiki
Revision as of 16:27, 12 March 2010 by Shadoxfix (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

zoneId

Zone id where the weather happens.

high_chance

How much percent this weather happens.

high_type

The type of weather.
0 = NORMAL
1 = FOG
2 = RAIN
4 = HEAVY_RAIN
8 = SNOW
16 = SANDSTORM

med_chance

How much percent this weather happens.

med_type

0 = NORMAL
1 = FOG
2 = RAIN
4 = HEAVY_RAIN
8 = SNOW
16 = SANDSTORM

low_chance

How much percent this weather happens.

low_type

0 = NORMAL
1 = FOG
2 = RAIN
4 = HEAVY_RAIN
8 = SNOW
16 = SANDSTORM

SQL Structure

CREATE TABLE `weather` (
  `zoneId` int(11) unsigned NOT NULL DEFAULT '0',
  `high_chance` int(11) unsigned NOT NULL DEFAULT '0',
  `high_type` int(11) unsigned NOT NULL DEFAULT '0',
  `med_chance` int(11) unsigned NOT NULL DEFAULT '0',
  `med_type` int(11) unsigned NOT NULL DEFAULT '0',
  `low_chance` int(11) unsigned NOT NULL DEFAULT '0',
  `low_type` int(11) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`zoneId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Weather System';
Personal tools