From e5e035b18c8a555e736e0123f70dc8a656f41ae6 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Fri, 3 Oct 2014 18:46:49 +0200
Subject: [PATCH] easy debug & frost grab icon

---
 .../modules/tome/data/gfx/talents/frost_grab.png | Bin 0 -> 3777 bytes
 game/modules/tome/dialogs/debug/DebugMain.lua    |   3 +++
 2 files changed, 3 insertions(+)
 create mode 100644 game/modules/tome/data/gfx/talents/frost_grab.png

diff --git a/game/modules/tome/data/gfx/talents/frost_grab.png b/game/modules/tome/data/gfx/talents/frost_grab.png
new file mode 100644
index 0000000000000000000000000000000000000000..c93533b8e1acf7bd367171a6706f8a58e87118cc
GIT binary patch
literal 3777
zcmV;y4nFaTP)<h;3K|Lk000e1NJLTq002M$002M;0ssI2B@5<>00009a7bBm000XU
z000XU0RWnu7ytkO2XskIMF-vr0}n7duJg#u000hPNkl<ZXx{BwdvsOxmHxhS?kj{O
zBwz>$j|7B4<ULpsbb$&gbwsPS>MBg}F|=s$F}2lcQOmS;RYXumEj|WkI%O><6`57g
zPzVo$%0ubsRJ0lb=0yU55QuP}zrE*=^SCz%S|q`7mcMmYa&p(bx%>Tnd+!5$eg1zQ
zS{C#2EX(?8O5eRZZ@=BzyqPm+TA|QaN_N}k`0-q^f(N5K5M^__wP=yuyZ2W_`qEPV
z`qyl3whl(EmKd9(Y>HY9F?;P=Yt*R!+oBg2^PYRSb0^!PJQ%fFqE>UvYKmEnF{>_S
z?TOoe`HMY$dRL@`eR{!8^y|m(eUFblhHGy?_k0K_gdr3#&OM+cdSL1_29wr1?`SI3
znfdm`Kbn<=JMZMIS?F5|K?jK?<1(bcdr`Um8O)!bYHj`UJ-~qjv2-a5i=d<{E}52|
zjy@E?D4ZK1`;Wu<1FbDvq`kdU6!_vnsl9qJCkKWw(2mm6fT9$r@e~uN5YBb>b$IT%
zKv~(BtN;oMph4I61~h{0Yaxf6Xi)<d-!oA6J?@*4Kb6lt7Z^0?%T$0lIS^F=g;e7C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o|B3SQ#77^Uu@LW^
r6AFd0F1jeIe}8|q_VxMtc;|lsPhr?*P?EO600000NkvXXu0mjf_oo(2

literal 0
HcmV?d00001

diff --git a/game/modules/tome/dialogs/debug/DebugMain.lua b/game/modules/tome/dialogs/debug/DebugMain.lua
index 56dd41847e..d96aff3eed 100644
--- a/game/modules/tome/dialogs/debug/DebugMain.lua
+++ b/game/modules/tome/dialogs/debug/DebugMain.lua
@@ -79,6 +79,8 @@ function _M:use(item)
 		game.state.birth.ignore_prodigies_special_reqs = true
 		game.player.inc_damage.all = 500
 		game.player:incStat("str", 100) game.player:incStat("dex", 100) game.player:incStat("mag", 100) game.player:incStat("wil", 100) game.player:incStat("cun", 100) game.player:incStat("con", 100)
+	elseif act == "weakdamage" then
+		game.player.inc_damage.all = -90
 	elseif act == "all_arts" then
 		for i, e in ipairs(game.zone.object_list) do
 			if e.unique and e.define_as ~= "VOICE_SARUMAN" and e.define_as ~= "ORB_MANY_WAYS_DEMON" then
@@ -164,6 +166,7 @@ function _M:generateList()
 	list[#list+1] = {name="Remove all creatures", action="remove-all"}
 	list[#list+1] = {name="Semi-Godmode", action="semigodmode"}
 	list[#list+1] = {name="Give all ingredients", action="all-ingredients"}
+	list[#list+1] = {name="Weakdamage", action="weakdamage"}
 	self:triggerHook{"DebugMain:generate", menu=list}
 
 	local chars = {}
-- 
GitLab