Remedy Patch

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Remedy Patch

Postby elcotek » Wed Apr 27, 2011 3:25 pm

Code: Select all
if (!player.IsAlive || player.IsSitting || player.IsMezzed || player.IsStunned)
return;

if (player != null)

After you die you can Cast! :mrgreen:

Change the line to:
Code: Select all
!player.IsAlive
!
Code: Select all
if (!player.IsAlive || player.IsSitting || player.IsMezzed || player.IsStunned)

Have Fun with Dol! :wink:
Attachments
remedy.patch
Remedy Ability Patch
(669 Bytes) Downloaded 21 times
Brotherland Final RvR/PvE/ToA http://brotherland.phpbb8.de/
User avatar
elcotek
Server Representative
 
Posts: 177
Joined: Mon May 12, 2008 9:28 pm
Website: http://brotherland-2.de
Location: Germany

Re: Remedy Patch

Postby Graveen » Wed Apr 27, 2011 4:22 pm

Thank you Elcotek.

Anyhow, i wonder if there is not already a player.HasNegativeEffect()-like method (or simply an IsAllowedToCast() check is enough ?) replacing the hwole checks.

Accepted, soon in SVN, thank you ! :)
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest