DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • April 22, 2018, 01:01:54 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Hook-request  (Read 3089 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
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
26 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search