fix rashid, fix spells, add znote sql schema

This commit is contained in:
ErikasKontenis 2020-04-19 12:36:39 +03:00
parent cfccd2093b
commit 870b7df973
3 changed files with 20 additions and 1 deletions

View File

@ -10,7 +10,7 @@ local function spawnRashid()
}
local position = rashidSpawns[os.date("%A")]
local rashid = Game.createNpc("Rashid", position)
local rashid = Game.createNpc("rashid", position)
if rashid ~= nil then
rashid:setMasterPos(position)
position:sendMagicEffect(CONST_ME_MAGIC_RED)

View File

@ -4,6 +4,8 @@
<instant name="Force Strike" words="exori mort" lvl="16" mana="20" prem="1" cooldown="1000" range="3" direction="1" blockwalls="1" needlearn="0" script="spells/force strike.lua">
<vocation name="Sorcerer" />
<vocation name="Master Sorcerer" />
<vocation name="Druid" />
<vocation name="Elder Druid" />
</instant>
<instant name="Fire Wave" words="exevo flam hur" lvl="18" mana="80" direction="1" needlearn="0" script="spells/fire wave.lua">
<vocation name="Sorcerer" />

17
sabrehaven_znote.sql Normal file
View File

@ -0,0 +1,17 @@
ALTER TABLE znote_accounts
ADD twitchuser varchar(256);
ALTER TABLE znote_accounts
ADD affiliatecode varchar(256);
ALTER TABLE znote_accounts
ADD affiliated varchar(256);
CREATE TABLE IF NOT EXISTS `znote_affiliate_logs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`affiliator_account_id` int(11) NOT NULL,
`affiliated_account_id` int(11) NOT NULL,
`points_given` int(10) NOT NULL,
`paid_money` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB;