DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • July 18, 2019, 01:44:42 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Specialty - Warrior  (Read 4342 times)
0 Members and 1 Guest are viewing this topic.
Rowne
Guest
« on: December 18, 2004, 07:38:50 PM »

http://mastaile.mine.nu/warriorspecial-098.zip

From the PHP itself ...

  Warrior Skills...
      ,,,a boon for the warrior,
         you have not been forgotten.


This was for a friend who asked specifically for a Warrior specialty and believed in my coding skill to pull this off.  So I gave it a shot and here it is.

Tower Shield

Defense is heightened by the appearance of a gigantic tower-shield.

Dual {weapon}s.

Yup, like Dual Rake-wielding, which I thought was really rather funny.  It's a damage modifier, pretty much.

Great {weapon}

Weapon triples in size, the player frequently drops it and does mass damage to the poor recipient.  WHAM!

Firing Squad

A batallion of Eythgim Soldiers materialize and let rip with blunderbusses.  This is thanks to [backstory - in the PHP *].

* Yes, I'm lazy.

-=-=-=-=-=-=-=-

I'm satisfied with this one, I like the Eythgim particularly because I've paid special attention to them on my server.  I really bumped up the number of Eythgim encounters.  With their Jester making an appearance, the Monarch, a grizzly Solid-Snake-esque Commando and even the ERENS (Elite Rainbow Eythgim Ninja Squad).

Of course, the ERENS are my favourite with their 60's Hollywood-Fu but I digress...

Anyway, warrior-specialty!  Enjoy.

[Edit] Once again, Rowne forgets the URL!  I need to make a Firefox extension just to remind me to put in this damned URL.  It's becoming lore now, almost tradition even.
« Last Edit: December 18, 2004, 07:43:19 PM by Rowne » Logged
dvd871
Guest
« Reply #1 on: December 22, 2004, 10:56:30 AM »

One little thing that I noticed in the uninstall function:
Code:
$sql = "UPDATE " . db_prefix("accounts") . " SET specialty='' WHERE specialty='EL'";

Should be
Code:
$sql = "UPDATE " . db_prefix("accounts") . " SET specialty='' WHERE specialty='WA'";
Logged
Rowne
Guest
« Reply #2 on: December 23, 2004, 05:31:13 AM »

Crap, you're right.  I knew there was something I would've forgotten.

http://mastaile.mine.nu/warriorspecial-098.zip

Fixed and updated, thanks for your vigilance in watching for and reporting bugs.  I've credited you in the update.

This is all untrodden territory for me though, I did my best because a good friend of mine requested a Warrior skill but ... PHP, LoGD and especially skill modules are all very new to me.  I'm still making llamaesque mistakes.
Logged
dvd871
Guest
« Reply #3 on: December 23, 2004, 11:06:34 AM »

Don't worry, its all new to me also.  Tongue
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #4 on: December 27, 2004, 10:06:51 PM »

Please add this:

Code:
case "specialtymodules":
       $args[$spec] = "specialtywarriorskills";
      break;

Right beneath:

Code:
case "specialtynames":
      $args[$spec] = translate_inline($name);
      break;

And this to the install routine:
Code:
module_addhook("specialtymodules");
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

enderwiggin
Guest
« Reply #5 on: February 13, 2005, 03:47:39 AM »

Line 86:
Code:
   b_query($sql);
Should be:
Code:
   db_query($sql);
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

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