Closed GoogleCodeExporter closed 9 years ago
Research order is defined in "rules.cfg", and there's no "POWER_TIME_BOMB" on
the list there.
Unless you add it there or use RESEARCH*() script command, the spell cannot be
researched.
If you've found a case where it is researched anyway, please provide a detailed
means of reproduction.
I added the following to level 3 script:
IF_AVAILABLE(PLAYER0,POWER_TIME_BOMB >= 1)
QUICK_INFORMATION(8,"GOT TIME BOMB!!")
ENDIF
And the message never appeared.
Original comment by mefistotelis
on 25 Oct 2014 at 11:28
Okay, then...
...here is a map, I think it is better to test it ( it is a map for campaign )
Test like this:
Get some gold, and wait when any natural researcher pops out from entrance,
then drop it to library and see what happens. If it happens only with me, I
think I need fresh new installation ( I haven't changed anything on rules.cfg
or anything else, only scripts )
Thanks in advance
Original comment by UnknownM...@Hotmail.com
on 27 Oct 2014 at 10:24
Attachments:
I can reproduce the issue, and see nothing in the script to explain it.
Original comment by Loobinex
on 27 Oct 2014 at 10:44
It looks like this line causes it:
MAGIC_AVAILABLE(PLAYER0,POWER_SLAP,1,0)
This is quite unexpected - I will check what's wrong.
Original comment by mefistotelis
on 27 Oct 2014 at 5:06
The problem was that there was no text name nor tooltip for Slap spell -
instead it was pointing to Time Bomb. But really, it was the Slap spellbook.
Similar but deeper problem was with Possess spell - there was no spellbook for
it. I added a new object to represent the spellbook, but it most likely won't
work completely as intended - there are still some unrewritten functions, and
the original code won't recognize this new object as spellbook.
Original comment by mefistotelis
on 29 Oct 2014 at 10:05
Solved, so closing.
Original comment by mefistotelis
on 29 Nov 2014 at 12:24
Original issue reported on code.google.com by
UnknownM...@Hotmail.com
on 25 Oct 2014 at 10:27