Commit 51226bd4427edbdcc4b32e4785763128d3fddc3f

Authored by dg
1 parent 383a6a2f

spell ideas


git-svn-id: http://svn.net-core.org/repos/t-engine4@115 51575b47-30f0-44d4-a5cc-537603b46e54
  1 +newTalent{
  2 + name = "Noxious Cloud",
  3 + type = {"spell/air",1},
  4 + mana = 45,
  5 + cooldown = 8,
  6 + tactical = {
  7 + ATTACKAREA = 10,
  8 + },
  9 + action = function(self)
  10 + local duration = 5 + self:getMag(10)
  11 + local radius = 3
  12 + local t = {type="ball", range=15, radius=radius}
  13 + local x, y = self:getTarget(t)
  14 + if not x or not y then return nil end
  15 + x, y = game.target:pointAtRange(self.x, self.y, x, y, 15)
  16 + -- Add a lasting map effect
  17 + game.level.map:addEffect(self,
  18 + x, y, duration,
  19 + DamageType.NATURE, 4 + self:getMag(30),
  20 + radius,
  21 + 5, nil,
  22 + engine.Entity.new{alpha=100, display='', color_br=30, color_bg=180, color_bb=60}
  23 + )
  24 + return true
  25 + end,
  26 + require = { stat = { mag=16 }, },
  27 + info = function(self)
  28 + return ([[Noxious fumes raises from the ground doing %0.2f nature damage in a radius of 3 each turns for %d turns.
  29 + Cooldown: 8 turns
  30 + The damage and duration will increase with the Magic stat]]):format(4 + self:getMag(30), 5 + self:getMag(10))
  31 + end,
  32 +}
... ...
1 1 newTalent{
2   - name = "Blink",
  2 + name = "Phase Door",
3 3 type = {"spell/conveyance",1},
4 4 message = "@Source@ blinks.",
5 5 mana = 15,
... ...
1 1 newTalent{
2   - name = "Noxious Cloud",
3   - type = {"spell/earth",1},
4   - mana = 45,
5   - cooldown = 8,
6   - tactical = {
7   - ATTACKAREA = 10,
8   - },
9   - action = function(self)
10   - local duration = 5 + self:getMag(10)
11   - local radius = 3
12   - local t = {type="ball", range=15, radius=radius}
13   - local x, y = self:getTarget(t)
14   - if not x or not y then return nil end
15   - x, y = game.target:pointAtRange(self.x, self.y, x, y, 15)
16   - -- Add a lasting map effect
17   - game.level.map:addEffect(self,
18   - x, y, duration,
19   - DamageType.NATURE, 4 + self:getMag(30),
20   - radius,
21   - 5, nil,
22   - engine.Entity.new{alpha=100, display='', color_br=30, color_bg=180, color_bb=60}
23   - )
24   - return true
25   - end,
26   - require = { stat = { mag=16 }, },
27   - info = function(self)
28   - return ([[Noxious fumes raises from the ground doing %0.2f nature damage in a radius of 3 each turns for %d turns.
29   - Cooldown: 8 turns
30   - The damage and duration will increase with the Magic stat]]):format(4 + self:getMag(30), 5 + self:getMag(10))
31   - end,
32   -}
33   -
34   -newTalent{
35 2 name = "Stone Skin",
36 3 type = {"spell/earth", 1},
37 4 mode = "sustained",
... ...
... ... @@ -15,7 +15,7 @@ newTalentType{ type="spell/necromancy", name = "necromancy", description = "Necr
15 15 load("/data/talents/spells/arcane.lua")
16 16 load("/data/talents/spells/fire.lua")
17 17 load("/data/talents/spells/earth.lua")
18   -load("/data/talents/spells/cold.lua")
  18 +load("/data/talents/spells/water.lua")
19 19 load("/data/talents/spells/air.lua")
20 20 load("/data/talents/spells/conveyance.lua")
21 21 load("/data/talents/spells/nature.lua")
... ...
No preview for this file type
No preview for this file type