View Full Version : Crown of Akharien


Alzara
May 20, 2008, 11:55 AM
Hey guys

Bit of a noobish question, but can the crown be transported and placed in another city?

I can see there is a "take item" option, but is there a "put item into city" button that lets you place it somewhere else?

Thanks

Al

Pyr0mancer
May 20, 2008, 12:02 PM
Yep. It's 'Drop Crown of Akharien'.

You can check things like this by looking in the Civilopedia, under 'Spells and Abilities' I believe. It lists almost all the spells that can be cast, including equipment spells. I think the only wonder-equipment that can't be dropped again is the Infernal Grimoire.

Alzara
May 20, 2008, 12:16 PM
Hehe thanks :)

Why can't you drop the Infernal Grimoire? What's the use of that?

Al

JanusTalaiini
May 20, 2008, 12:32 PM
Probably because there's no point to doing so. The Grimoire is a one-shot deal, and after you build it it offers no city bonus, so it functions just like any other piece of equipment. There's no option to simply drop Orthus' Axe, either... though like the Grimoire, you can pass it from unit to unit.

Alzara
May 20, 2008, 12:44 PM
It adds 2 :gp: towards a great scientist...

Al

MagisterCultuum
May 20, 2008, 12:59 PM
I added the ability to drop the Infernal Grimorie in my version a while back. I found that it gives you a free technology every time you drop it instead of just when first built.

I wouldn't have minded so much, but my increased penalty for building it hasn't worked sine the BtS conversion. (I had made it create a random number of Balors (from 1 to 13), who in my version have fire and entropy affinity. The Infernal Grimorie itself granted 2 entropy mana and before BtS barbarian units got affinity from all the mana in the world.) I'm now planning to remove the free tech upon completion, instead makeing a free tech be one possible outcome of the Read from the Grimorie spell (which will have more negative outcomes too)

jwin
May 20, 2008, 01:34 PM
Isn't he grimoire what they added for a unit to cast a random spell (or die)? I know that was added to one of the wonders, I'm not sure if it was the Grimoire.

Niveras
May 20, 2008, 03:34 PM
Yes, if a unit is carrying the grimoire they can use it to cast a random spell.

Alzara
May 21, 2008, 11:30 AM
Oh... by random spell... u literally mean a random spell from all the spells in the game? Also what is the chance of dying?

Al

MagisterCultuum
May 21, 2008, 12:12 PM
Oh... by random spell... u literally mean a random spell from all the spells in the game? Also what is the chance of dying?

Al


def spellReadTheGrimoire(caster):
iRnd = CyGame().getSorenRandNum(100, "Read the Grimoire")
if iRnd < 20:
caster.cast(gc.getInfoTypeForString('SPELL_SUMMON_ SPECTRE'))
if iRnd >= 20 and iRnd < 40:
caster.setHasPromotion(gc.getInfoTypeForString('PR OMOTION_UNHOLY_TAINT'), True)
if iRnd >= 40 and iRnd < 60:
caster.cast(gc.getInfoTypeForString('SPELL_WITHER' ))
if iRnd >= 60 and iRnd < 70:
caster.cast(gc.getInfoTypeForString('SPELL_SUMMON_ PIT_BEAST'))
if iRnd >= 70 and iRnd < 80:
caster.cast(gc.getInfoTypeForString('SPELL_BURNING _BLOOD'))
if iRnd >= 80 and iRnd < 90:
caster.setHasPromotion(gc.getInfoTypeForString('PR OMOTION_DEMON'), True)
if iRnd >= 90:
caster.kill(True, 0)


There are 4 possible spells, plus the chance to become a demon, get the unholy taint ptomotion, or to die. The death chances are 10%

xienwolf
May 21, 2008, 12:14 PM
Magister beat me to it :) Good thing too, cause I was out of date with my (and the manual's) info.

Pyr0mancer
May 21, 2008, 12:29 PM
Just a recap of the code that's easier to read:

20% Summon Spectre
20% Wither
20% Caster gets promotion Unholy Taint
10% Caster gets promotion Demon
10% Burning Blood
10% Summon Pit Beast
10% Caster is killed

Out of curiosity, in the caster.kill argument, what's the second argument (0) in this case do? Is it a delay for the kill? Also, would 'caster.kill(False,0)' just do nothing?

Grey Fox
May 21, 2008, 12:40 PM
I think that the second value is the player ID of the one responsible of the kill, or maybe it's just a boolean for something, in which case 0 would equal false. And for what that would be I don't know, and too lazy too check.

xienwolf
May 21, 2008, 12:44 PM
First is a boolean for delayed death, second is the Enums for which player gets notification of the death

From:

void CvUnit::kill(bool bDelay, PlayerTypes ePlayer)

if (ePlayer != NO_PLAYER)
{
gDLL->getEventReporterIFace()->unitKilled(this, ePlayer);
if (NO_UNIT != getLeaderUnitType())
{
for (int iI = 0; iI < MAX_PLAYERS; iI++)
{
if (GET_PLAYER((PlayerTypes)iI).isAlive())
{
szBuffer = gDLL->getText("TXT_KEY_MISC_GENERAL_KILLED", getNameKey());
gDLL->getInterfaceIFace()->addMessage(((PlayerTypes)iI), false, GC.getEVENT_MESSAGE_TIME(), szBuffer, GC.getEraInfo(GC.getGameINLINE().getCurrentEra()). getAudioUnitDefeatScript(), MESSAGE_TYPE_MAJOR_EVENT);
}
}
}
}

if (bDelay)
{
startDelayedDeath();
return;
}

Niveras
May 21, 2008, 07:18 PM
It could be said the chance to die something closer to 20%, since Burning blood has a high chance to kill the unit at the end of the turn.

Oh. Or maybe that's only a function of the spell specific to Moroi, looking at Xien's online civlopedia.

Blackmantle
May 22, 2008, 10:57 AM
So basically there is a way to drop the Grimoire. Just give it to a disposable unit and read in it until it dies. Then it gets "dropped" (aka swallows the reader) :D

Easiest transport is by carrier-hawk. Also very disposable for reading and "dropping". :p Just watch out to transfer the Grimoire if the Hawk should get burning blood. Otherwise its bye-bye Grimore. (what a picture: A really furious demonic and undead hawk taking off with an evil artifact...)


Hawks seriously need to be toned down and split to later techs though.

Blackmantle
May 22, 2008, 10:58 AM
oops. double post