Skip to content
Snippets Groups Projects
Commit e5568d49 authored by DarkGod's avatar DarkGod
Browse files

moar

parent 16b6b55d
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 0 deletions
......@@ -5768,6 +5768,26 @@ function _M:removeEffectsSustainsFilter(t, nb, check_remove)
end
end
function _M:removeEffectsSustainsTable(effs, susts, nb, check_remove)
t = t or {}
local objects = {}
for _, eff_id in ipairs(effs) do
objects[#objects + 1] = {"effect", eff_id}
end
for _, tid in ipairs(susts) do
objects[#objects + 1] = {"talent", tid}
end
for obj in rng.tableSampleIterator(objects, nb) do
if not check_remove or check_remove(self, obj) then
if obj[1] == "effect" then
self:removeEffect(obj[2])
else
self:forceUseTalent(obj[2], {ignore_energy=true})
end
end
end
end
--- Randomly reduce talent cooldowns based on a filter
-- @param t the function to use as a filter on the talent definition or nil to apply to all talents on cooldown
-- @param change the amount to change the cooldown by
......
game/modules/tome/data/gfx/talents/attack.png

2.25 KiB | W: | H:

game/modules/tome/data/gfx/talents/attack.png

5.73 KiB | W: | H:

game/modules/tome/data/gfx/talents/attack.png
game/modules/tome/data/gfx/talents/attack.png
game/modules/tome/data/gfx/talents/attack.png
game/modules/tome/data/gfx/talents/attack.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/bone_armour.png

7.14 KiB | W: | H:

game/modules/tome/data/gfx/talents/bone_armour.png

7.24 KiB | W: | H:

game/modules/tome/data/gfx/talents/bone_armour.png
game/modules/tome/data/gfx/talents/bone_armour.png
game/modules/tome/data/gfx/talents/bone_armour.png
game/modules/tome/data/gfx/talents/bone_armour.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/braid_lifelines.png

9.05 KiB | W: | H:

game/modules/tome/data/gfx/talents/braid_lifelines.png

9.39 KiB | W: | H:

game/modules/tome/data/gfx/talents/braid_lifelines.png
game/modules/tome/data/gfx/talents/braid_lifelines.png
game/modules/tome/data/gfx/talents/braid_lifelines.png
game/modules/tome/data/gfx/talents/braid_lifelines.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/cease_to_exist.png

7.64 KiB | W: | H:

game/modules/tome/data/gfx/talents/cease_to_exist.png

7.51 KiB | W: | H:

game/modules/tome/data/gfx/talents/cease_to_exist.png
game/modules/tome/data/gfx/talents/cease_to_exist.png
game/modules/tome/data/gfx/talents/cease_to_exist.png
game/modules/tome/data/gfx/talents/cease_to_exist.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/command_breathe.png

6.07 KiB | W: | H:

game/modules/tome/data/gfx/talents/command_breathe.png

6.08 KiB | W: | H:

game/modules/tome/data/gfx/talents/command_breathe.png
game/modules/tome/data/gfx/talents/command_breathe.png
game/modules/tome/data/gfx/talents/command_breathe.png
game/modules/tome/data/gfx/talents/command_breathe.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/contingency.png

8.59 KiB | W: | H:

game/modules/tome/data/gfx/talents/contingency.png

7.46 KiB | W: | H:

game/modules/tome/data/gfx/talents/contingency.png
game/modules/tome/data/gfx/talents/contingency.png
game/modules/tome/data/gfx/talents/contingency.png
game/modules/tome/data/gfx/talents/contingency.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/energy_absorption.png

8.34 KiB | W: | H:

game/modules/tome/data/gfx/talents/energy_absorption.png

6.25 KiB | W: | H:

game/modules/tome/data/gfx/talents/energy_absorption.png
game/modules/tome/data/gfx/talents/energy_absorption.png
game/modules/tome/data/gfx/talents/energy_absorption.png
game/modules/tome/data/gfx/talents/energy_absorption.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/energy_decomposition.png

8.68 KiB | W: | H:

game/modules/tome/data/gfx/talents/energy_decomposition.png

7.33 KiB | W: | H:

game/modules/tome/data/gfx/talents/energy_decomposition.png
game/modules/tome/data/gfx/talents/energy_decomposition.png
game/modules/tome/data/gfx/talents/energy_decomposition.png
game/modules/tome/data/gfx/talents/energy_decomposition.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/entropy.png

7.84 KiB | W: | H:

game/modules/tome/data/gfx/talents/entropy.png

5.67 KiB | W: | H:

game/modules/tome/data/gfx/talents/entropy.png
game/modules/tome/data/gfx/talents/entropy.png
game/modules/tome/data/gfx/talents/entropy.png
game/modules/tome/data/gfx/talents/entropy.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/fateweaver.png

8.61 KiB | W: | H:

game/modules/tome/data/gfx/talents/fateweaver.png

8.08 KiB | W: | H:

game/modules/tome/data/gfx/talents/fateweaver.png
game/modules/tome/data/gfx/talents/fateweaver.png
game/modules/tome/data/gfx/talents/fateweaver.png
game/modules/tome/data/gfx/talents/fateweaver.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/foresight.png

7.86 KiB | W: | H:

game/modules/tome/data/gfx/talents/foresight.png

6.54 KiB | W: | H:

game/modules/tome/data/gfx/talents/foresight.png
game/modules/tome/data/gfx/talents/foresight.png
game/modules/tome/data/gfx/talents/foresight.png
game/modules/tome/data/gfx/talents/foresight.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/precognition.png

7.94 KiB | W: | H:

game/modules/tome/data/gfx/talents/precognition.png

7.06 KiB | W: | H:

game/modules/tome/data/gfx/talents/precognition.png
game/modules/tome/data/gfx/talents/precognition.png
game/modules/tome/data/gfx/talents/precognition.png
game/modules/tome/data/gfx/talents/precognition.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/redux.png

6.73 KiB | W: | H:

game/modules/tome/data/gfx/talents/redux.png

5.17 KiB | W: | H:

game/modules/tome/data/gfx/talents/redux.png
game/modules/tome/data/gfx/talents/redux.png
game/modules/tome/data/gfx/talents/redux.png
game/modules/tome/data/gfx/talents/redux.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/resilient_bones.png

6.96 KiB | W: | H:

game/modules/tome/data/gfx/talents/resilient_bones.png

6.77 KiB | W: | H:

game/modules/tome/data/gfx/talents/resilient_bones.png
game/modules/tome/data/gfx/talents/resilient_bones.png
game/modules/tome/data/gfx/talents/resilient_bones.png
game/modules/tome/data/gfx/talents/resilient_bones.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/seal_fate.png

7.23 KiB | W: | H:

game/modules/tome/data/gfx/talents/seal_fate.png

7.23 KiB | W: | H:

game/modules/tome/data/gfx/talents/seal_fate.png
game/modules/tome/data/gfx/talents/seal_fate.png
game/modules/tome/data/gfx/talents/seal_fate.png
game/modules/tome/data/gfx/talents/seal_fate.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/see_the_threads.png

8.5 KiB | W: | H:

game/modules/tome/data/gfx/talents/see_the_threads.png

7.76 KiB | W: | H:

game/modules/tome/data/gfx/talents/see_the_threads.png
game/modules/tome/data/gfx/talents/see_the_threads.png
game/modules/tome/data/gfx/talents/see_the_threads.png
game/modules/tome/data/gfx/talents/see_the_threads.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/skeleton.png

6.44 KiB | W: | H:

game/modules/tome/data/gfx/talents/skeleton.png

6.2 KiB | W: | H:

game/modules/tome/data/gfx/talents/skeleton.png
game/modules/tome/data/gfx/talents/skeleton.png
game/modules/tome/data/gfx/talents/skeleton.png
game/modules/tome/data/gfx/talents/skeleton.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/skeleton_reassemble.png

6.74 KiB | W: | H:

game/modules/tome/data/gfx/talents/skeleton_reassemble.png

6.57 KiB | W: | H:

game/modules/tome/data/gfx/talents/skeleton_reassemble.png
game/modules/tome/data/gfx/talents/skeleton_reassemble.png
game/modules/tome/data/gfx/talents/skeleton_reassemble.png
game/modules/tome/data/gfx/talents/skeleton_reassemble.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/talents/spin_fate.png

8.28 KiB | W: | H:

game/modules/tome/data/gfx/talents/spin_fate.png

7.84 KiB | W: | H:

game/modules/tome/data/gfx/talents/spin_fate.png
game/modules/tome/data/gfx/talents/spin_fate.png
game/modules/tome/data/gfx/talents/spin_fate.png
game/modules/tome/data/gfx/talents/spin_fate.png
  • 2-up
  • Swipe
  • Onion skin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment