DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • October 22, 2017, 03:30:49 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Race - Demon  (Read 7123 times)
0 Members and 1 Guest are viewing this topic.
RPGSL
Guest
« on: July 24, 2005, 12:00:16 PM »

Version 1.0

Download: http://rpgsl.com/lotgd/racedemon.zip
Mirror: http://rpdragon.com/lotgd/racedemon.zip

Requires: Basic Alignment by WebPixie, Lonny Luberts, and Chris Vorndran
Download Prerequisite Module: http://dragonprime.net/users/Sichae/alignment.zip

Requires: Vampire Race - Chris Vorndran
Download Prerequisite Module: http://dragonprime.net/users/Sichae/racevamp.zip


Required DK's: 5*
Required Site Points: 0*
Mine Death: 67%*
Maximum Alignment to obtain Race: 33*
Maximum Alignment for temporary Hit Point Bonus on New Day: 33*
Maximum temporary Hit Point Bonus: Character max. Hit Points times 12.5%*
Maximum Alignment for Chance of permanent Hit Point on a New Day: 2*
Chance of getting permanent Hit Point(s) if above is met: 10%*
Permanent Hit Points received if the two Criteria above are met: 1*
Can characters receive permanent HP Bonus?: Yes*
Use Favor to add to temporary HP Bonus? Yes*
Maximum Amount of Favor Bonus: 2.5%*
Admin can check the following: If permanent HP was received this game day, how many temporary hitpoints received this game day, total permanent HP gained by character.


*configurable in grotto


This race is meant to be played over the long run as its temporary hit point bonus per new day is based upon their maximum hit points, which have a chance of increasing each new day if they are evil enough. Over time, this race will become powerful. Yet, this was the idea as Demons should slowly grow more powerful (in my opinion) if they meet their alignment prerequisites.


Complimentary Race: Angel
Location: http://dragonprime.net/index.php?board=19;action=display;threadid=2626
« Last Edit: July 29, 2005, 07:25:56 AM by RPGSL » Logged
Dannic
Guest
« Reply #1 on: July 24, 2005, 12:11:29 PM »

what happens to a player if they exceed the alignment after they choose the race?
Logged
RPGSL
Guest
« Reply #2 on: July 24, 2005, 12:12:16 PM »

Nothing, they will receive no hit point bonuses, which is the only benefit of this race.

Well, it will say this:

          
Code:
output("`n`bYou are not evil enough to get you Demonic abilities today! You better start being more evil!`b`n");
« Last Edit: July 24, 2005, 12:13:40 PM by RPGSL » Logged
Nightborn
Guest
« Reply #3 on: August 27, 2005, 03:23:41 AM »

add after line 194

Code:
$hplang=translate_inline($hplang)

to make "point" or "points" translatable.
« Last Edit: August 27, 2005, 03:24:05 AM by Nightborn » Logged
RPGSL
Guest
« Reply #4 on: August 27, 2005, 01:39:36 PM »

Version 2.0

Download: http://rpgsl.com/lotgd/racedemon.zip
Mirror: http://rpdragon.com/lotgd/racedemon.zip

New Admin Settings

1) Can this race be demoted to vampire? - default of Yes.


This module is now tied into the Archademon race. If you have the Archdemon race installed, then the home city will be set to the home city of the Archdemon race. If you don't have that race installed, it will be set to the vampire city.

Complimentary Race: Angel
Location: http://dragonprime.net/index.php?board=19;action=display;threadid=2626
Complimentary Race: Archdemon
Location: http://dragonprime.net/index.php?board=19;action=display;threadid=2812
Complimentary Race: Archangel
Location: http://dragonprime.net/index.php?board=19;action=display;threadid=2811
« Last Edit: August 27, 2005, 01:40:23 PM by RPGSL » Logged
Nightborn
Guest
« Reply #5 on: August 27, 2005, 02:12:20 PM »

Quote
13) Can this race be demoted if they drop below the alignment specified in #4?
from the grotto...

You have to alter it to "...if they rise above the alignment ...."
Smiley

Didn't revise it, but you may have the same in your archdemon module.
Logged
RPGSL
Guest
« Reply #6 on: August 27, 2005, 02:23:03 PM »

Ah yes, that's right. I fixed it here and in the Archdemon race. Thanks.

Version 2.01
« Last Edit: August 27, 2005, 02:23:30 PM by RPGSL » Logged
RPGSL
Guest
« Reply #7 on: August 28, 2005, 01:00:30 PM »

Version 2.02

Download: http://rpgsl.com/lotgd/racedemon.zip
Mirror: http://rpdragon.com/lotgd/racedemon.zip

Demon was being demoted no matter what the alignment if demotion was enabled. This has been fixed.
Logged
Nightborn
Guest
« Reply #8 on: August 30, 2005, 12:38:34 AM »

Code:
             addnav("Angel", "newday.php?setrace=Demon$resline");

line 150, should be Demon I guess.

-deleted- (nevermind)

and not to forget: lines 142 and 149, replace $race with translate_inline($race)...thanks Smiley

you may have to check the other modules as well, I didn't do that.

a player had a problem selecting the race... the criteria were met, but well, I am trying to reproduce now, it worked for me...so well... Smiley if I find out something, I'll tell you.
« Last Edit: August 30, 2005, 01:04:22 AM by Nightborn » Logged
RPGSL
Guest
« Reply #9 on: August 30, 2005, 06:31:49 AM »

Code:
             addnav("Angel", "newday.php?setrace=Demon$resline");

line 150, should be Demon I guess.

-deleted- (nevermind)

and not to forget: lines 142 and 149, replace $race with translate_inline($race)...thanks :)

you may have to check the other modules as well, I didn't do that.

a player had a problem selecting the race... the criteria were met, but well, I am trying to reproduce now, it worked for me...so well... :) if I find out something, I'll tell you.

Version 2.03

Download: http://rpgsl.com/lotgd/racedemon.zip
Mirror: http://rpdragon.com/lotgd/racedemon.zip

Demon was being displayed as Angel when choosing race. Added the translate_inline($race).
Logged
ChrisDS
Militia
**
Offline Offline

Posts: 74


View Profile
« Reply #10 on: January 18, 2009, 10:16:16 PM »

Fatal error: Call to undefined function get_align() in /home/ndspower/public_html/logd/modules/racedemon.php on line 101

anyone see this befor?
Logged
Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5475



View Profile WWW
« Reply #11 on: January 18, 2009, 10:51:18 PM »

Fatal error: Call to undefined function get_align() in /home/ndspower/public_html/logd/modules/racedemon.php on line 101

anyone see this befor?

Do you have the alignment module installed?
Logged

Play the latest beta version here on DragonPrime
Boris735
Mod God
*****
Offline Offline

Posts: 568


View Profile
« Reply #12 on: January 19, 2009, 03:36:00 PM »

Even with the alignment module installed, there's a few modules which aren't including the alignment functions first.  This might be one of them.  If so, it can probably be fixed by adding the following line to the module:

Code:
require_once("modules/alignment/func.php");
Logged
ChrisDS
Militia
**
Offline Offline

Posts: 74


View Profile
« Reply #13 on: January 20, 2009, 10:00:02 AM »

i think it was happening because the vampire mod was installed but not active...
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
23 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search