Commit adcc5ab5e50b6f1d122ff84602eb3cfddaf937b4

Authored by Recaiden
1 parent e957442b

Updated Credits, IDs used in damage types, and unlock condition.

... ... @@ -38,6 +38,11 @@ Musics:
38 38 - "Anne_van_Schothorst_-_Passed_Tense.ogg" by Anne van Schothorst (http://freemusicarchive.org/music/Anne_van_Schothorst)
39 39 - Nearly every other songs by Celestial Aeon Project (http://www.jamendo.com/en/artist/celestial.aeon.project)
40 40
  41 +Sounds:
  42 +- Mike Koenig for 'breaking' sound effects
  43 +- Mark DiAngelo for 'whooshing' sound effects
  44 +- Marianne Gragnon for 'mystic chanting' sound effects
  45 +
41 46 Fonts:
42 47 - Vera*: http://www.gnome.org/fonts/
43 48 - INSULA, USENET: http://www.dafont.com/fr/apostrophic-labs.d128
... ... @@ -47,6 +52,6 @@ Fonts:
47 52
48 53 Others:
49 54 - The good people at lua.org who made the world a better place
50   -- J.R.R. Tolkien who made the (real) world an interresting place
  55 +- J.R.R. Tolkien who made the (real) world an interesting place
51 56
52 57 Also a big general thanks to the whole ToME community which is always very nice, polite, supporting, full of marvelous ideas and great people!
... ...
... ... @@ -119,6 +119,7 @@ Please, make sure the world is safe.]],
119 119 {_t"You will never be forgotten.", action=function(npc, player)
120 120 local aeryn = aeryn_alive(npc, player)
121 121 game.level:removeEntity(aeryn, true)
  122 + game:setAllowedBuild("paladin_fallen", true)
122 123 player:hasQuest("high-peak"):win("aeryn-sacrifice")
123 124 end},
124 125 }
... ...
... ... @@ -4417,7 +4417,7 @@ newDamageType{
4417 4417
4418 4418 -- physical that pulls and might reduce knockback resistance
4419 4419 newDamageType{
4420   - name = "black-hole gravity", type = "REK_FLN_GRAVITY_PULL",
  4420 + name = "black-hole gravity", type = "BLACK_HOLE_GRAVITY",
4421 4421 projector = function(src, x, y, type, dam, state)
4422 4422 state = initState(state)
4423 4423 useImplicitCrit(src, state)
... ... @@ -4429,7 +4429,7 @@ newDamageType{
4429 4429 if dam.slow then
4430 4430 target:setEffect(target.EFF_SLOW, dam.dur, {power=dam.slow, apply_power=src:combatPhysicalpower(), no_ct_effect=true})
4431 4431 end
4432   - if src:isTalentActive(src.T_FLN_BLACKSUN_SINGULARITY) then
  4432 + if src:isTalentActive(src.T_SINGULARITY_ARMOR) then
4433 4433 target:setEffect(target.EFF_ANTI_GRAVITY, 2, {})
4434 4434 end
4435 4435 end
... ... @@ -4448,7 +4448,7 @@ newDamageType{
4448 4448
4449 4449 -- blinding light that restores positive energy to its caster
4450 4450 newDamageType{
4451   - name = "solar blood", type = "FLN_TEMPLAR_SIGIL",
  4451 + name = "solar blood", type = "SOLAR_BLOOD",
4452 4452 projector = function(src, x, y, type, dam, state)
4453 4453 state = initState(state)
4454 4454 useImplicitCrit(src, state)
... ... @@ -4457,7 +4457,7 @@ newDamageType{
4457 4457 if target == src then
4458 4458 target:incPositive(2)
4459 4459 elseif target:reactionToward(src) < 0 then
4460   - target:setEffect(target.EFF_FLN_BLINDING_LIGHT, 1, {src=src, power=dam.dam, apply_power=dam.pow, no_ct_effect=true})
  4460 + target:setEffect(target.EFF_BLINDING_LIGHT, 1, {src=src, power=dam.dam, apply_power=dam.pow, no_ct_effect=true})
4461 4461 DamageType:get(DamageType.LIGHT).projector(src, x, y, DamageType.LIGHT, dam.dam, state)
4462 4462 end
4463 4463 end
... ...
... ... @@ -94,7 +94,7 @@ newTalent{
94 94 for i, target in ipairs(tgts) do
95 95 local old_source = self.summoner.__project_source
96 96 self.summoner.__project_source = self
97   - DamageType:get(DamageType.REK_FLN_GRAVITY_PULL).projector(self.summoner, target.actor.x, target.actor.y, DamageType.REK_FLN_GRAVITY_PULL, self.dam)
  97 + DamageType:get(DamageType.BLACK_HOLE_GRAVITY).projector(self.summoner, target.actor.x, target.actor.y, DamageType.BLACK_HOLE_GRAVITY, self.dam)
98 98 self.summoner.__project_source = old_source
99 99 end
100 100
... ... @@ -213,7 +213,7 @@ newTalent{
213 213 self:project(tg2, self.x, self.y, function(px, py, tg, self)
214 214 local target = game.level.map(px, py, Map.ACTOR)
215 215 if target and target ~= self then
216   - self:attackTarget(target, DamageType.REK_FLN_GRAVITY_PULL, t.getOuterDamage(self, t), true)
  216 + self:attackTarget(target, DamageType.BLACK_HOLE_GRAVITY, t.getOuterDamage(self, t), true)
217 217 end
218 218 end)
219 219
... ...
... ... @@ -141,11 +141,6 @@ newTalent{
141 141 self:talentTemporaryValue(p, "combat_spellcrit", t.getCrit(self, t))
142 142 self:talentTemporaryValue(p, "combat_physcrit", t.getCrit(self, t))
143 143 end,
144   - callbackOnKill = function(self, t, src, msg)
145   - if src.getHate and src:getHate() > 0 then
146   - game:setAllowedBuild("paladin_fallen", true)
147   - end
148   - end,
149 144 callbackOnCrit = function(self, t, kind, dam, chance)
150 145 if kind ~= "spell" and kind ~= "physical" then return end
151 146 if not rng.percent(t.getProcChance(self, t)) then return end
... ...
... ... @@ -100,11 +100,11 @@ newTalent{
100 100 -- Add a lasting map effect
101 101 game.level.map:addEffect(self,
102 102 x, y, self:spellCrit(t.getDuration(self, t)),
103   - DamageType.FLN_TEMPLAR_SIGIL, {dam=self:spellCrit(t.getStrength(self, t)), pow=self:combatSpellpower()},
  103 + DamageType.SOLAR_BLOOD, {dam=self:spellCrit(t.getStrength(self, t)), pow=self:combatSpellpower()},
104 104 self:getTalentRadius(t),
105 105 5, nil,
106 106 MapEffect.new{zdepth=6, overlay_particle={zdepth=6, only_one=true, type="circle", args={appear=8, oversize=0, img="fln_celestial_circle", radius=self:getTalentRadius(t)*2}}, color_br=255, color_bg=187, color_bb=187, alpha=10, effect_shader="shader_images/sunlight_effect.png"},
107   - nil, true --self:spellFriendlyFire(true)
  107 + nil, true
108 108 )
109 109 end,
110 110
... ...
... ... @@ -3158,6 +3158,11 @@ newEffect{
3158 3158 parameters = {},
3159 3159 on_gain = function(self, err) return _t"#Target# is filled with the Sun's fury!", _t"+Sun's Vengeance" end,
3160 3160 on_lose = function(self, err) return _t"#Target#'s solar fury subsides.", _t"-Sun's Vengeance" end,
  3161 + callbackOnKill = function(self, eff, src, msg)
  3162 + if src.getHate and src:getHate() > 0 then
  3163 + game:setAllowedBuild("paladin_fallen", true)
  3164 + end
  3165 + end,
3161 3166 activate = function(self, eff)
3162 3167 self:effectTemporaryValue(eff, "amplify_sun_beam", 25)
3163 3168 end
... ... @@ -5409,7 +5414,7 @@ newEffect{
5409 5414 }
5410 5415
5411 5416 newEffect{
5412   - name = "FLN_DIRGE_LINGER_FAMINE", image = "talents/fln_dirge_famine.png",
  5417 + name = "DIRGE_OF_FAMINE", image = "talents/fln_dirge_famine.png",
5413 5418 desc = "Dirge of Famine",
5414 5419 long_desc = function(self, eff) return ("The target is regenerating health"):format() end,
5415 5420 type = "magical",
... ... @@ -5425,7 +5430,7 @@ newEffect{
5425 5430 }
5426 5431
5427 5432 newEffect{
5428   - name = "FLN_DIRGE_LINGER_CONQUEST", image = "talents/fln_dirge_conquest.png",
  5433 + name = "DIRGE_OF_CONQUEST", image = "talents/fln_dirge_conquest.png",
5429 5434 desc = "Dirge of Conquest",
5430 5435 long_desc = function(self, eff) return ("The target will gain a surge of energy on kill or crit"):format() end,
5431 5436 type = "magical",
... ... @@ -5461,7 +5466,7 @@ newEffect{
5461 5466 }
5462 5467
5463 5468 newEffect{
5464   - name = "FLN_DIRGE_LINGER_PESTILENCE", image = "talents/fln_dirge_pestilence.png",
  5469 + name = "DIRGE_OF_PESTILENCE", image = "talents/fln_dirge_pestilence.png",
5465 5470 desc = "Dirge of Pestilence",
5466 5471 long_desc = function(self, eff) return ("The target will gain a shield upon suffering a detrimental effect"):format() end,
5467 5472 type = "magical",
... ... @@ -5483,7 +5488,7 @@ newEffect{
5483 5488 }
5484 5489
5485 5490 newEffect{
5486   - name = "FLN_BLINDING_LIGHT", image = "talents/fln_templar_sigil.png",
  5491 + name = "BLINDING_LIGHT", image = "talents/fln_templar_sigil.png",
5487 5492 desc = "Blinding Light",
5488 5493 long_desc = function(self, eff) return ("The target is blinded by a magical light and unable to see anything."):format(eff.dam) end,
5489 5494 type = "magical",
... ...