DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • January 23, 2018, 03:41:09 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Hook-request  (Read 2996 times)
0 Members and 1 Guest are viewing this topic.
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« on: November 21, 2004, 01:28:09 AM »

Is it possible to include a hook in dragon.php, line 23

$badguy = modulehook("dragonbadguy", $badguy);

(or name it othrwise... Couldn't think of anything better...)

I wanted to powerup the dragon a little, because some people complained, they fear Yoresh more than the dragon...
Logged

Running for more than three years now:
Kendaer
Guest
« Reply #1 on: November 21, 2004, 10:52:46 AM »

In the next pre-release (whenever that will be, I've been swamped).

I have added the line.

    $badguy = modulehook("buffdragon", $badguy);

It's right before the line
     $session['user']['badguy']=createstring($badguy);

IE, I'm doing it *after* the DK based buff setting rather than before.

 
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

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