.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old November 22nd, 2004, 05:27 AM

msew msew is offline
Corporal
 
Join Date: Jun 2004
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
msew is on a distinguished road
Default Gem usage and performing ritual spells

So the ritual spell order is random. This is all fine and dandy.

What doesn't seem to be random is that the gems for the ritual spells being cast are used up before the spell is cast.

e.g.

-I cast a ritual spell that I put 100 gems into.
-opponent casts distant province attack spell costing 15 gems (fires from afar)


Order comes up that fires from afar goes off first. It kills the mage casting the ritual spell with 100 gems.

Those 100 gems are used up with no result as the mage is dead.

This sort of bites big.

Make it even worse.

3 or 4 mages all casting ritual spells each at around 50 gems a piece. (so ~200 gems get used up)

Enemy casts 3 fires from afar (for 45 gems).

Now the ordering algorithm orders the spells. And the guy spending 45 has a a good chance of getting at least one of his spells in front and nuking the mages giving him a very nice return on his 45 gems. The mages are killed, spells are ruined, and the gems used up.


Certainly you can try to counter act this with domes and rings that protect your from said spells and such.

But the question is: is this intended to be the case or an oversight of the ordering of gem usage. Because the gem usage seems to occur when you first choose to attempt cast the spell vs completion of the spell.

i.e. the client says: for this turn I am going to do these things. Here is the cost. N gold, N resources, N holy, N gems of each type. The server checks to see if those are valid and then deducts them from the player.

Then the turn is processed.


I think the best solution would be to have the cost of the gems used up over the course of the abstracted time period more than likely by just determining (randomly) how far along the mage and refunding the correct number of gems.

e.g. So during the time period it was determined that the mage was killed off halfway through casting his spell. Okie give 50% of the gems back.
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:33 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.