DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • January 19, 2018, 04:46:47 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Specialty - Grey Knight  (Read 5508 times)
0 Members and 1 Guest are viewing this topic.
Lexington
Guest
« on: April 22, 2005, 10:17:36 PM »

This is the "Neutral" version of my Knight classes.

Same basic thing(s) going on here as in the Black & White Knights (posted earlier today).

Meant to have an alignment restriction, but for some reason I can't get it to work. *shrugs*

It still runs just fine in the testing I've done, I just can't get that cursed align restriction.

http://dragonprime.net/users/Lexington/specialtygreyknight.zip

***EDIT 1***
I've found now that I've tested it a bit more, that the first ability "The Void" doesn't work the way it's supposed to.

It's supposed to work similar to regenerate, save that it also hits the opponent for that much damage. I'll have a look at it today and see if I can figure out what the deal was, and then let you know what I find.

***EDIT 2***
Alright, I've got it working correctly now, save for the fact that it's printing the message concerning "regenerated X hp, and badguy took X damage" twice. The effect(s) still only happen once, but it's printing it to the screen twice. Suggestions on how to fix that?
« Last Edit: April 23, 2005, 07:48:57 AM by Lexington » Logged
Lightbringer
Member
Codemeister
****
Offline Offline

Posts: 267


Life's a lich and then you don't die...damn unlife


View Profile
« Reply #1 on: April 29, 2005, 05:55:37 PM »

Okay then..I will take a bit of a look at this one..will also try and work out how to hook it into alignment so that it works properly that way as well..

* Lightbringer adds this to his already massive To-Do list...
« Last Edit: April 29, 2005, 05:56:41 PM by Lightbringer » Logged

________________________ _____________________

Lightbringer
PHP/SQL/VB.NET/C#/AJAX Developer
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #2 on: May 11, 2005, 11:12:18 AM »

Do you have Debug on to show that msg?
Logged
zelion
Guest
« Reply #3 on: May 15, 2005, 12:22:16 AM »

I believe the problem with your alignment issues is this:
You're trying to get the users alignment from: $session['user']['alignment']
Thats null, and returns nothing. Try using this: get_module_pref("alignment","alignment")
I'll try to get them working tomorrow when I'm more awake. Cheesy
Logged
Lightbringer
Member
Codemeister
****
Offline Offline

Posts: 267


Life's a lich and then you don't die...damn unlife


View Profile
« Reply #4 on: May 15, 2005, 11:30:58 PM »

* Lightbringer facepalms

D'oh!

I shoulda known...
Logged

________________________ _____________________

Lightbringer
PHP/SQL/VB.NET/C#/AJAX Developer
zelion
Guest
« Reply #5 on: May 18, 2005, 01:51:29 PM »

I fixed the grey knight, along with white and black, added an option for grey, lets you set inbetween what alignment #'s you can pick the grey knight at. I've not been able to get ahold of the original creator. So I won't release them till he says its cool. Tongue
Logged
Lightbringer
Member
Codemeister
****
Offline Offline

Posts: 267


Life's a lich and then you don't die...damn unlife


View Profile
« Reply #6 on: May 19, 2005, 12:14:25 AM »

Yeah..he works pretty flat out...

I will speak to him next time I see him on MSN..

I doubt he will mind this stuff working properly Wink
Logged

________________________ _____________________

Lightbringer
PHP/SQL/VB.NET/C#/AJAX Developer
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #7 on: May 19, 2005, 12:21:40 AM »

***EDIT 2***
Alright, I've got it working correctly now, save for the fact that it's printing the message concerning "regenerated X hp, and badguy took X damage" twice. The effect(s) still only happen once, but it's printing it to the screen twice. Suggestions on how to fix that?
This is happening because you are using a damage and a regenearation buff in one buff... The regen-part will trigger the effectmsg AND the damage will trigger the effectmsg.
Logged

Running for more than three years now:
Lexington
Guest
« Reply #8 on: May 19, 2005, 12:24:58 AM »

Yeah, sorry about that, things have been a bit busy as of late.

I have no problem with you posting the updated versions with the fixes. In fact, I'll thank you. Wink

Logged
Lightbringer
Member
Codemeister
****
Offline Offline

Posts: 267


Life's a lich and then you don't die...damn unlife


View Profile
« Reply #9 on: May 19, 2005, 12:30:40 AM »

* Lightbringer waves to Lex..

I had already tried to make this module work...but have been flatout trying to figure out a few glitches of my own..and make a few custom mods for a couple of people...
Logged

________________________ _____________________

Lightbringer
PHP/SQL/VB.NET/C#/AJAX Developer
zelion
Guest
« Reply #10 on: May 19, 2005, 04:16:49 PM »

http://dragonprime.net/users/zelion/specialtygreyknight.zip
There it is, added a line saying "Alignment Ready Fixed by Zelion" and a download link for where I have them hosted. Smiley
Logged
Boris735
Mod God
*****
Offline Offline

Posts: 569


View Profile
« Reply #11 on: May 24, 2009, 01:04:18 AM »

Yes, this module (and its related ones) were written before the alignment core change, so need to include that file in relevant places.  I'm attaching a fixed version; Elessa, care to update the download link?  (http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=685 -- neither of the two links earlier in this thread still work.)

Changes made:
  • Removed the invalid download entry in the module info.
  • Got rid of the "Amount of alignment to gain when choosing specialty" setting; now alignment resets to neutral on selection instead (as seems to have been intended all along).
  • Fixed the "undefined function" bugs.
  • Alignment tends slightly back towards neutrality at each new day now.
  • Adjusted the specialty selection code to better handle the case where the alignment core is not installed.
  • Fixed the duplicate message printing that was happening in the level 1 skill (The Void).
Logged
Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3598


short, sweet and to the point


View Profile
« Reply #12 on: May 24, 2009, 01:10:31 AM »

uploaded new version to here in the file sharing area.

thank ye, Boris735  Smiley
Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
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
15 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search