Jump to content

Recommended Posts

  • 3 months later...
Posted

 

I have this source activated and it works fine. But when I want to resurrect someone dead 2 times they don't resurrect.
The first time he dies I can resurrect but the second time it doesn't work.
How to fix them? 

Thanks for share this ❤️

Posted
On 9/29/2022 at 9:30 AM, masterzeus said:

 

I have this source activated and it works fine. But when I want to resurrect someone dead 2 times they don't resurrect.
The first time he dies I can resurrect but the second time it doesn't work.
How to fix them? 

Thanks for share this ❤️

UPDATE THIS FOR USE YDRASSSIL LEAF AND RESURECCT SKILL ON PVP MVP MAPS
thanks @Tokei for update ❤️

 

diff --git a/src/map/skill.cpp b/src/map/skill.cpp
index b48373392..f19c80142 100755
--- a/src/map/skill.cpp
+++ b/src/map/skill.cpp
@@ -7170,7 +7170,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
 				break;
 			}
 
-			if (map_getmapflag(bl->m, MF_PVP) && dstsd && dstsd->pvp_point < 0)
+			if (map_getmapflag(bl->m, MF_PVP) && dstsd && dstsd->pvp_point < 0 && !map_getmapflag(bl->m, MF_MAPMVP))
 				break;
 
 			switch(skill_lv){
  • 3 months later...
  • 7 months later...
Posted
51 minutes ago, Rynbef said:

The error tells u what u have to do. Change flag to flags. This should fix it 

 

Rynbef~

I have tried it before post here. Same error. But now I just fixed it.

Change to:
 

!mapdata->getMapFlag(MF_MAPMVP)

 

  • 2 months later...
Posted (edited)

The script works very well, thank you!

 

However, when pvp is activated, players on the map receive 0% EXP. When pvp is disabled (MVP is dead), the experience returns to normal.

 

Thx :3

 

EDIT : I have solved the problem ... Look this line in exp.conf and change no to yes !

// PVP exp.  Do players get exp in PvP maps
// (Note: NOT exp from players, but from normal leveling)
pvp_exp: yes

Edited by Tiki59
Solve
  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...