linktree Atrinik.org - Multiplayer Online Role Playing Game  >  Development  >  Suggestions
linktree Topic: Divine Intervention whist Praying
Pages: [1]   Go Down
  Print  
Author Topic: Divine Intervention whist Praying  (Read 3175 times)
0 Members and 1 Guest are viewing this topic. Bookmarked by 0 members.
Offline NiteStar

Posts: 466
Gender: Male
« on: August 15, 2010, 09:12:16 pm »

When praying, one's deity could, randomly, decide to reveal their presence unto their worshipper and restore all stats, or all health/grace/mana, or cure poison/disease (if so afllicted). This would be similar to the "You feel the presence of [your deity]. A white light surrounds you and fully heals you!" that happens on a very low random basis when you're applying the altar of your deity.

Just a thought ....
 Logged
Offline Gramlath
Developer

Laser is not difficult...
Posts: 31
Gender: Male
« Reply #1 on: August 15, 2010, 09:46:57 pm »

This was a feature in Crossfire.  I assume the treasurelists merely hadn't been setup yet.
 Logged
Offline NiteStar

Posts: 466
Gender: Male
« Reply #2 on: August 15, 2010, 09:50:21 pm »

So praying would use a treasurelist?
 Logged
Offline Gramlath
Developer

Laser is not difficult...
Posts: 31
Gender: Male
« Reply #3 on: August 16, 2010, 04:18:50 am »

Basically the deity has a treasure list it uses for its "available blessings"
 Logged
Offline NiteStar

Posts: 466
Gender: Male
« Reply #4 on: August 16, 2010, 04:47:47 am »

And these blessings are granted on a random basis with low chance of success (say 1/100 times praying)?
 Logged
Offline Mamoru
Developer
Edwin Miltenburg

Posts: 625
Gender: Male
« Reply #5 on: August 16, 2010, 08:51:17 pm »

That's the purpose of using a treasurelist, Nitestar :)
~Kiana~
 Logged
Offline NiteStar

Posts: 466
Gender: Male
« Reply #6 on: August 16, 2010, 09:13:22 pm »

OK, I just wasn't aware that a treasure list could be applied to an action such as praying already -- IOW wasn't aware that this was already possible just not yet implemented.
 Logged
Offline Mamoru
Developer
Edwin Miltenburg

Posts: 625
Gender: Male
« Reply #7 on: August 16, 2010, 09:15:47 pm »

Neither did I, but the purpose of a treasurelist is to specify a certain chance of a certain thing happening. Usually that's dropping a certain item.
~Kiana~
 Logged
Offline NiteStar

Posts: 466
Gender: Male
« Reply #8 on: August 16, 2010, 10:02:59 pm »

Ah, so it can be applied to actions taken by a mob/NPC/deity as well then? That's cool to know, and good info for mappers to know this. Perhaps it shouldn't be called treasurelist so much as something else then? A list of eventualities or possibilities or randomizer or something else? Treasurelist implies that it's only for when you're opening a container (usually a mob's corpse) and receive a reward of some sort....

So would the way to lower the chance of having this divine intervention whilst praying be to fill the trasurelist with a bunch of {NULL} objects? Or is there a way to just set the randomness and chance to find or something along those lines?
 Logged
Offline Cleo
Developer
Alex Tokar

Posts: 580
Gender: Male
« Reply #9 on: August 16, 2010, 10:10:59 pm »

Crossfire didn't have random events when praying, unless you count flowers firing in all directions to "renew your faith" (negative grace) an event. The events were only applicable when praying on top of an altar, and IIRC, this is the complete list:

- hp/mana/grace restoration
- getting a special prayer related to the deity (the god of electricity had some electricity prayers, the undead one had some deadly diseases IIRC, etc)
- curse/damnation removal on all items
- depletion healing
- various healing spells (restoration, cure poison, etc depending on the god)
- enchanting weapon (slaying the god's enemy, getting it up to +5 or so, etc)
- some presents (holy symbols, weapons, etc of the god)

I'm not sure plain praying having such effect is a good idea. The plan is to eventually implement the 'consecrate' prayer, which consecrates altar you are standing on to your god. There are already dungeons with altars, so such places would be used quite a lot I think (it also means you have to do something in order to get some nice help -- deities usually don't stand next to a single person, checking all the time whether they are alright or need something; altars are more likely to get their attention).

Quote
Treasurelist implies that it's only for when you're opening a container (usually a mob's corpse) and receive a reward of some sort....


Treasure lists are not for containers; they are assigned to monsters to define what they should be (randomly) carrying, ie, the loot is decided when the monster is spawned, not when looted. Any entry in a treasure list can have a chance set, which controls how often it should 'drop'. In the case of deities for altars, it's some system objects that randomly drop and then the code decided what to do depending on what object actually dropped -- 99% nothing drops, although that's controlled by the code; god intervention is very rare.

See https://server.docs.atrinik.org/treasures.html for some more details.
 Logged
Pages: [1]   Go Up
  Print  
 
Jump to: