Commit Graph

12 Commits

Author SHA1 Message Date
iopietro 56e280f436 Artifacts fixes part 4
Completely fixed the artifact of the fool and fixed all kind of
artifact:

+Deleted some useless .tpl files and merged into one (Stable)
+The artifact of the fool effect won't be displayed if not active
+Fixed a bug that permitted to have a great and a unique artefacts
active at the same moment
+Big reductions of code in a lot of files
+Created some new methods to support artifacts
+Fixed a bug that prevented the effect of the "Rivals confusion" to work
correctly
+Fixed a bug that prevented "The eagles eyes" artifact to work correctly
for the attacker
+Fixed the artifact of the fool of every kind, now it's calculated with
a new method
+Fixed the cranny capacity when a "Rivals confusion" artifact is active
+Some minor bug fixing , improovements and optimization
2018-04-26 20:37:47 +02:00
iopietro 8e731dd7d0 Artifacts fixes part 3
+Fixed the artifact of the fool, it will now work and reduce/increase
troops speed
+Optimized some templates file and deleted some useless files
+Added a method to Database.php which permits to calculate things
related to artifacts (it's not general yet, it only works for troops
speed)
-Removed artifact of the fool "Account" type, because it shouldn't exist
2018-04-25 22:58:18 +02:00
iopietro 0011d2abcb Artifacts fixes part 2
+Artifacts are now activated after a certain amount of time (based on
the official Travian Rules and the server speed) and not immediately
after the conquer
+Artifacts are now activated based on official Travian Rules, you can
only have 1 unique/account active artifacts

Changes in 27_show.tpl:
+Added the text "Can't be activated" to not-activable artifacts

Changes in Automation.php:
+Added a new method which activate activable artifacts

Changes in Database.php:
+Added some methods to support the new artifacts activation system
2018-04-25 15:13:24 +02:00
iopietro 26cb03cdb6 Artifacts fixing part 1
+Added a new table in the database, called "artefacts_chrono" which
stores the chronology of all artifacts
+Added the support for the artifacts chronology in 27_show.tpl
+Added the support for interacting with the artifacts chronology table in Database.php
+Cleaned the code in 27_show.tpl
+Some minor improovements and bug fixing
2018-04-23 20:34:28 +02:00
Martin Ambrus 7bc1cb751c fix: All Artefact have the same image
Closes #255
2017-11-06 16:14:50 +01:00
Martin Ambrus 3863456ac9 fix: all artefacts have the same image
Closes #255
2017-11-03 16:12:04 +01:00
Shadow e337ac2b4d update 2014-05-12 08:43:32 +03:00
Shadow 97ac5ef50b Update 27_show.tpl 2013-11-27 14:32:21 +02:00
Shadow 5c44116c95 Update 27_show.tpl 2013-11-27 11:24:27 +02:00
Shadowss 1dd0abfd52 Update credits on treasurey - thanks brainiac 2013-08-14 09:05:45 +03:00
Shadowss 490b59a488 Bonus from treasurey and artefact coded
Bonus 	troops make faster with (50%)
Bonus 	building stronger with (4x)
Bonus 	makes troops faster with (2x)

And count by bad_effect and effect2 for artefact of fool

For artefact of fool

Artefact of the unique fool
Every 24 hours it gets a random effect, bonus, or penalty (all are possible with the exception of great warehouse, great granary and WW building plans). They change effect AND scope every 24 hours. The unique artifact will always take positive bonuses.
Owner 	olteanu14
Village 	Calaret Fulger
Alliance 	~WWG~
Area of effect 	account
Bonus 	building stronger with 5
Required level 	Treasury level 20
Time of conquer 	2013-08-03 20:48:32
time of activation 	Active
2013-08-09 15:08:04 +03:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00