<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Building a rampart on top of an invader prevents killing it]]></title><description><![CDATA[<p>Part of my code automatically replaces ramparts when they are destroyed.  Normally a hostile walking onto a construction site will destroy it but if you create a construction site on top of a hostile creep then it's still possible to build it.  (This has been the case for a long time.)</p>
<p>What's new to me is that when I build a rampart on top of an invader, a mass ranged attack from a creep on an adjacent tile isn't damaging the invader and the rampart the invader is standing on isn't destroyed.  I don't remember seeing this happening before so something seems to have changed.</p>
<p>Here's a replay link of it happening on shard2: <a href="https://screeps.com/a/#!/history/shard2/E19N3?t=4001420" rel="nofollow">https://screeps.com/a/#!/history/shard2/E19N3?t=4001420</a></p>
]]></description><link>http://screeps.com/forum/topic/2132/building-a-rampart-on-top-of-an-invader-prevents-killing-it</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 22:09:57 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/2132.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 04 Mar 2018 15:51:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Building a rampart on top of an invader prevents killing it on Invalid Date]]></title><description><![CDATA[<p>Part of my code automatically replaces ramparts when they are destroyed.  Normally a hostile walking onto a construction site will destroy it but if you create a construction site on top of a hostile creep then it's still possible to build it.  (This has been the case for a long time.)</p>
<p>What's new to me is that when I build a rampart on top of an invader, a mass ranged attack from a creep on an adjacent tile isn't damaging the invader and the rampart the invader is standing on isn't destroyed.  I don't remember seeing this happening before so something seems to have changed.</p>
<p>Here's a replay link of it happening on shard2: <a href="https://screeps.com/a/#!/history/shard2/E19N3?t=4001420" rel="nofollow">https://screeps.com/a/#!/history/shard2/E19N3?t=4001420</a></p>
]]></description><link>http://screeps.com/forum/post/9848</link><guid isPermaLink="true">http://screeps.com/forum/post/9848</guid><dc:creator><![CDATA[hyramgraff]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Building a rampart on top of an invader prevents killing it on Invalid Date]]></title><description><![CDATA[<p>I'm not sure this is a bug. Ramparts protect whatever they're on the same tile as. If you set your ramparts to public it's also possible for hostiles to enter them, and they are similarly protected.</p>
]]></description><link>http://screeps.com/forum/post/9849</link><guid isPermaLink="true">http://screeps.com/forum/post/9849</guid><dc:creator><![CDATA[Tigga]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Building a rampart on top of an invader prevents killing it on Invalid Date]]></title><description><![CDATA[<p>I confirm this is intended behavior.</p>
]]></description><link>http://screeps.com/forum/post/9850</link><guid isPermaLink="true">http://screeps.com/forum/post/9850</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Building a rampart on top of an invader prevents killing it on Tue, 06 Mar 2018 06:12:59 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/3">@artch</a> I've been able to do a little more testing of this and I've discovered that:</p>
<ul>
<li>A <code>rangedMassAttack</code> does not damage an invader on top of my rampart and does not damage the rampart.</li>
<li>A <code>rangedAttack</code> does damage an invader on top of my rampart because it does damage the rampart.</li>
</ul>
<p>This is a surprising inconsistency between the two methods.</p>
]]></description><link>http://screeps.com/forum/post/9870</link><guid isPermaLink="true">http://screeps.com/forum/post/9870</guid><dc:creator><![CDATA[hyramgraff]]></dc:creator><pubDate>Tue, 06 Mar 2018 06:12:59 GMT</pubDate></item><item><title><![CDATA[Reply to Building a rampart on top of an invader prevents killing it on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/581">@hyramgraff</a> That's because rangedMassAttack will not attack your own ramparts.<br />
A rangedAttack on the other hand is a directed attack at something in a specific location.</p>
<p>rangedMassAttack will also not damage any of your own buildings while a directed rangedAttack will do that.</p>
]]></description><link>http://screeps.com/forum/post/9871</link><guid isPermaLink="true">http://screeps.com/forum/post/9871</guid><dc:creator><![CDATA[Dissi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Building a rampart on top of an invader prevents killing it on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/3">@artch</a> Since moving onto an enemy ConstructionSite removes it, would it be possible to return an ERR_ code from <a href="http://docs.screeps.com/api/#Room.createConstructionSite" rel="nofollow">Room.createConstructionSite</a> if you attempt to make a ConstructionSite on top of an enemy creep instead of allowing it to occur?</p>
]]></description><link>http://screeps.com/forum/post/9876</link><guid isPermaLink="true">http://screeps.com/forum/post/9876</guid><dc:creator><![CDATA[WolfWings]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>