Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
Caster of Magic II Bug Reports!

(August 4th, 2020, 17:40)Seravy Wrote:
Code:
   
     k:=0;
     case Gd.landsize of
     LandMinimal : k:=1;
     LandTiny : k:=3;
     else k:=6;
     end;

     for i:=1 to nofplanes do begin
     // Weak Lairs
     for j:=1 to 2*k+trunc(planeratio[i]*12) do
     if i=1 then GenerateRandomLair(i,100+30*(random(20)+1)) else
                     GenerateRandomLair(i,100+30*(random(30)+1));
     // Strong Lairs
     for j:=1 to k+trunc(planeratio[i]*15) do
     if i=1 then GenerateRandomLair(i,250+50*(random(60)+1)) else
                     GenerateRandomLair(i,250+50*(random(70)+1));
     end;

Do you use Pascal as programming language?
Reply

Yes.
Reply

Nice. Pascal is rarely seen. But Knights Province ( https://www.knightsprovince.com/ ) use Delphi. I didn't know that was possible. Impressive.
Is the original code Pascal too?
Reply

There was no original code, that's why I had to make this.
Delphi is basically Pascal, the windows version of it.
Reply

Wow, this is giving me flashbacks, my first coding class was in Pascal. I had no idea it was still in use outside of legacy systems.
Reply

I think you're misunderstanding.
I consider Delphi = Pascal.
I am using Delphi, is there even any other forms of Pascal in existence that run on windows? At least, I haven't heard of one.
Old Borland Pascal has some windows modules for windows 3.1 but yeah, that's not useful anymore.
Reply

That makes sense, the code snippet gave me flashbacks
Reply

Ich habe in den 90ern mit Pascal und Pascals Nachfolger zusammengearbeitet: Oberon. Mit der 'legendären' Oberon-Oberfläche (alles, was Sie sehen, sind Funktionen und alle drei Maustasten in JEDER Kombination haben einen Effekt): https://habrastorage.org/files/5b7/318/8...e3a557.jpg
Reply

Gestern habe ich einen alten Thread aus dem Fallen Enchantress Beta-Forum über Kampfmechanik mit vielen interessanten Dingen, Moral, Immunitäten usw. gelesen: https://forums.elementalgame.com/367216/...scussdeath -oder-mindestens-Kampf # Antworten

Ich wünsche mir, dass ich im MoM flankiere: Für jede Einheit neben der angegriffenen wird die Verteidigung um eins verringert.
Benachbarte feindliche Einheiten unterstützen sie und erhöhen die Verteidigung um eins, wenn zwei oder mehr Einheiten angreifen.
Infolgedessen werden billige Einheiten wie Speermänner interessanter.
Reply

Big update :

Quote:2020-08-08
-Fixed bug : Game doesn't start when the music is turned off.
-All the changes from the spell system overhaul.
-Fixed Corruption not being invalid on already corrupted terrain.
-Fixed Armageddon and Doomsday not affecting unscouted areas.
-Cloud of Darkness and Philosopher's Stone count as knowing the granted combat globals in automatic combat.
-Sky Fires increases "Direct Damage" level by 1 in automatic combat.
-Fixed bug : Range check error when there is nothing left to research
-Added missing feature : Diplomacy effect of global enchantments applied each turn in additon to the time they are cast.
-Fixed bug : Aura of Majesty had no effect.
-Moved wizard images to the Wizard subfolder.
-Fixed bug : Global enchantments cause range check error.
-Fixed bug : Global enchantment music plays too late.
-Fixed bug : 5 additional lines of "resistance to all" to test info window scrolling were not removed.
-Increased the spell of combat attack and ranged animations.
-Magic Immunity is now reported as an immune unit when targeted in combat with the appropriate option enabled.
-Fixed bug : AI priortizes direct damage higher if the enemy had healing spells instead of when they did not.
-Fixed bug : cancelling a global enchantment didn't cause a recalculation of units stats.
-Improved the outline on the Boars unit in combat.
-Fixed bug : "Spell" button doesn't work after starting a new game.
-Improved mouse interaction with spell book selection on custom wizards.
-Selected unit no longer blinks while in the city scren.
-Minimap now shows the location of the city on the Governor screen instead of the selected unit.
-Fixed bug : Governor sometimes displays 1 more turns then necessary
-Lair scouting now adds "s" to the end of the reported unit name if necessary.
-Fixed combat terrain causing range check errors
-Adjusted Spell of Mastery casting cost formula.
-Changed Myrran combat ground pixel colors.
-Myrran combat forest tiles have fewer trees.
-Fixed : Completion report plays sound 8 instead of music 8
-Fixed : Range check in combat Info button in node auras.
-Fixed : the Map button in combat starts playing the overland BGM.
-Fixed : Units with no sound on attacking play one anyway
-Fixed : AI doesn't contact the player for warnings and war declaration.
-Fixed some typos in help and diplomacy texts
-Fixed bug : Grand Vizier does not ask if the player wants military buildings
-Fixed bug : War declaration text is shown when the player is already at war.
-Fixed bug : Units staying behind walls to defend move randomly when not finding a target inside the walls to attack.
-Fixed bug : units stay in their attack animation frame after attacking.
Reply



Forum Jump: