![](https://maxcheaters.com/uploads2/set_resources_34/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
ZnX
-
Posts
20 -
Credits
0 -
Joined
-
Last visited
Never -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by ZnX
-
-
great share dude
-
it will be very helpfull to show and characters from the last ip
-
don't apply it noone told you to take it
-
yes if it is a Event GM but when a Test GM hasn't has access for //heal he can heal his char anywhere.. this is the point of the share
my english sucks so hard
-
if (getInventory().getItemByItemId(100005) == null)
double rateXp = getStat().calcStat(Stats.MAX_HP, 1, this, null);
return (int) (getTemplate().getRewardExp() * rateXp * Config.RATE_XP);
else
double rateXp = getStat().calcStat(Stats.MAX_HP, 1, this, null);
return (int) (getTemplate().getRewardExp() * rateXp * Config.RATE_XP * 2);
if i am corrent i dont use l2jfree
-
### Eclipse Workspace Patch 1.0
#P datapack_development
Index: data/scripts/handlers/skillhandlers/Heal.java
===================================================================
--- data/scripts/handlers/skillhandlers/Heal.java (revision 7680)
+++ data/scripts/handlers/skillhandlers/Heal.java (working copy)
@@ -136,6 +136,13 @@
double hp;
for (L2Character target: (L2Character[]) targets)
{
+ if (activeChar.isGM() && !target.isGM())
+ {
+ activeChar.abortCast();
+ activeChar.sendMessage("You can't heal a Non GM player!");
+ return;
+ }
+
// We should not heal if char is dead/invul
if (target == null || target.isDead() || target.isInvul())
continue;
checked on l2j epilogue working perfect
-
Dude if im asking is because i havent been able to make it work, i have just applied the patch and it compiles correctly, but once the server is running any mob gives xp. so thats why im asking for help
Here is the code i made using as base the code submited by ZnX
{ double rateXp = getStat().calcStat(Stats.MAX_HP, 1, this, null); if (getInventory().getItemByItemId(100005) == null) return (int) (getTemplate().getRewardExp() * rateXp * Config.RATE_XP); else return (int) (getTemplate().getRewardExp() * rateXp * Config.RATE_XP * 2); }
dude you put the lines in wrong section press ctrl + f on eclipse and fine this public int getExpReward()
The idea of x2 sux so hard !
Lets say I have a sv with xp rate 100 , the donator will have 200x ?
Much better will be like this :
+ else + return (int) (getTemplate().rewardExp *Config.RATE_XPDONATOR);
and make the config.
of course you can apply everything you want it isn't nessecary to make it like mine
-
Rofl,seems nice.
IF you apply some adjustment it will be much better.
well i didn't share all my work i just share this bit of my idea i am working on donations system and more and i wanted to share this for someone who might need it
-
are you sure? because i did't see a post like this before in this forum... and first you should have send me message
-spammer
(sorry for my dead English)
-
tasted on L2J credits me(for the idea isn't something special i think)
-
for example the item is 5575 (ancient adena)
Index: java/com/l2jserver/gameserver/model/actor/L2Npc.java===================================================================
--- java/com/l2jserver/gameserver/model/actor/L2Npc.java (revision 4433)
+++ java/com/l2jserver/gameserver/model/actor/L2Npc.java (working copy)
@@ -1361,7 +1361,10 @@
*/
public int getExpReward()
{
- return (int) (getTemplate().rewardExp * Config.RATE_XP);
+ if (getInventory().getItemByItemId(5575) == null)
+ return (int) (getTemplate().rewardExp * Config.RATE_XP);
+ else
+ return (int) (getTemplate().rewardExp *Config.RATE_XP * 2);
}
/**
-
why you want to do that?
-
awesome textures
-
awesome armors Critical
-
it work and for subclasses? i mean if you reach 1500 pvp and you want a subclass after you will go 85 lvl you will take lvl for new pvps???
-
public class base implements IVoicedCommandHandler
in base it writes :
The public type base must be defined in its own file
:/ what i must do?
-
congratz for this share :)
-
nothing special i think
-
omg nice share man
[Share] Crystal/Blessed Scrolls Max Enchant
in Server Shares & Files [L2J]
Posted
i think L2j make another code so the above can't apply it but in
you can edit any scroll you want