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

Online events forbidden in tutorials

parent ecbc20b9
No related branches found
No related tags found
No related merge requests found
......@@ -2120,17 +2120,20 @@ end
function _M:grabOnlineEventZone()
if not config.settings.tome.allow_online_events then return end
if self.birth.grab_online_event_forbid then return end
if not self.birth.grab_online_event_zone or not self.birth.grab_online_event_spot then return nil end
return self.birth.grab_online_event_zone()
end
function _M:grabOnlineEventSpot(zone, level)
if not config.settings.tome.allow_online_events then return end
if self.birth.grab_online_event_forbid then return end
if not self.birth.grab_online_event_zone or not self.birth.grab_online_event_spot then return nil end
return self.birth.grab_online_event_spot(zone, level)
end
function _M:allowOnlineEvent()
if not config.settings.tome.allow_online_events then return end
if self.birth.grab_online_event_forbid then return end
return true
end
......@@ -135,6 +135,7 @@ newBirthDescriptor{
instakill_immune = 1,
},
game_state = {
grab_online_event_forbid = true,
always_learn_birth_talents = true,
},
}
......
......@@ -118,7 +118,7 @@ newTalent{
local power = t.getPower(self, t)
return ([[Over the next %d turns, you attempt to remove the target from the timeline. Its resistances will be reduced by %d%%, and if you manage to kill it while the spell is in effect, you'll be returned to the point in time you cast this spell and the target will be slain.
This spell splits the timeline. Attempting to use another spell that also splits the timeline while this effect is active will be unsuccessful.
The duration will scale with your Paradox and the resistance penalty will scale with your Paradox and S pellpower.]])
The duration will scale with your Paradox and the resistance penalty will scale with your Paradox and Spellpower.]])
:format(duration, power)
end,
}
......
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