Commit 0c15e04e068b27817cd51cee887d6676e6e04198

Authored by DarkGod
1 parent 02d89acb

shsss

  1 +-- ToME - Tales of Maj'Eyal
  2 +-- Copyright (C) 2009 - 2015 Nicolas Casalini
  3 +--
  4 +-- This program is free software: you can redistribute it and/or modify
  5 +-- it under the terms of the GNU General Public License as published by
  6 +-- the Free Software Foundation, either version 3 of the License, or
  7 +-- (at your option) any later version.
  8 +--
  9 +-- This program is distributed in the hope that it will be useful,
  10 +-- but WITHOUT ANY WARRANTY; without even the implied warranty of
  11 +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12 +-- GNU General Public License for more details.
  13 +--
  14 +-- You should have received a copy of the GNU General Public License
  15 +-- along with this program. If not, see <http://www.gnu.org/licenses/>.
  16 +--
  17 +-- Nicolas Casalini "DarkGod"
  18 +-- darkgod@te4.org
  19 +
  20 +newEntity{ define_as = "TRAP_TEMPORAL",
  21 + type = "temporal", subtype="water", id_by_type=true, unided_name = "trap",
  22 + display = '^',
  23 + triggered = function(self, x, y, who)
  24 + return true, self.auto_disarm
  25 + end,
  26 +}
  27 +
  28 +newEntity{ base = "TRAP_TEMPORAL",
  29 + name = "disturbed pocket of time", auto_id = true, image = "trap/.png",
  30 + detect_power = resolvers.clscale(8,50,8),
  31 + disarm_power = resolvers.clscale(2,50,8),
  32 + rarity = 3, level_range = {1, 50},
  33 + color=colors.VIOLET,
  34 + message = "@Target@ is caught in a distorted pocket of time!",
  35 + triggered = function(self, x, y, who)
  36 + who:paradoxDoAnomaly(0, "no-major", "forced", who)
  37 + return true
  38 + end,
  39 +}
  40 +
  41 +newEntity{ base = "TRAP_TEMPORAL",
  42 + name = "extremely disturbed pocket of time", auto_id = true, image = "trap/.png",
  43 + detect_power = resolvers.clscale(8,50,8),
  44 + disarm_power = resolvers.clscale(2,50,8),
  45 + rarity = 6, level_range = {1, 50},
  46 + color=colors.PURPLE,
  47 + message = "@Target@ is caught in an extremely distorted pocket of time!",
  48 + triggered = function(self, x, y, who)
  49 + who:paradoxDoAnomaly(0, "major", "forced", who)
  50 + return true
  51 + end,
  52 +}
... ...
... ... @@ -26,6 +26,3 @@ love interrest. There must be a way of getting his rune off to use it
26 26 * mob/boss taht changes form during fight like in D3/a5
27 27
28 28 * steal some features of dungeonmans academy: "unknown loot" that can only be revealed by the next character
29   -
30   -
31   -FIX AWESOME AURA !
\ No newline at end of file
... ...