Jump to content
  • 0

Enable Phenn Card effect in WoE


Nerfwood

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   27
  • Joined:  12/05/13
  • Last Seen:  

Hi!

 

I want to know how to enable the phenn-effect during WoE. Magic-type users are currently useless since casting is always interrupted, and especially since we are a high-rate server and aspd maxes at 196.

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   7
  • Joined:  10/08/12
  • Last Seen:  

Hi!

 

I want to know how to enable the phenn-effect during WoE. Magic-type users are currently useless since casting is always interrupted, and especially since we are a high-rate server and aspd maxes at 196.

No need to go to source edit for your problem....

Go to ur item_db.txt (pre or renewal depending on what you're using) and change this part

 

4077,Phen_Card,Phen Card,6,20,,10,,,,,,,,136,,,,,{ bonus bNoCastCancel,0; bonus bCastrate,25; },{},{}

into

4077,Phen_Card,Phen Card,6,20,,10,,,,,,,,136,,,,,{ bonus bNoCastCancel2,0; bonus bCastrate,25; },{},{}

 

answer is from rathena/doc/item_bonus.txt where

 

bonus bNoCastCancel,n;                          Prevents casting from being interrupted when hit (does not work in GvG | n is meaningless)
bonus bNoCastCancel2,n;                        Prevents casting from being interrupted when hit (works even in GvG | n is meaningless)

 

HOPE it WORks !!

Edited by miczster
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   27
  • Joined:  12/05/13
  • Last Seen:  

Ok... So I saw these codes:
 
//pc.c
		case SP_NO_CASTCANCEL:
			if(sd->state.lr_flag != 2)
				sd->special_state.no_castcancel = 1;
			break;
		case SP_NO_CASTCANCEL2:
			if(sd->state.lr_flag != 2)
				sd->special_state.no_castcancel2 = 1;
			break;
//still in pc.c

		case SP_NO_CASTCANCEL:   val = sd->special_state.no_castcancel?1:0; break;
		case SP_NO_CASTCANCEL2:  val = sd->special_state.no_castcancel2?1:0; break; 

//pc.h


struct {
		unsigned char no_weapon_damage, no_magic_damage, no_misc_damage;
		unsigned int restart_full_recover : 1;
		unsigned int no_castcancel : 1;
		unsigned int no_castcancel2 : 1;
		unsigned int no_sizefix : 1;
		unsigned int no_gemstone : 2;
		unsigned int intravision : 1; // Maya Purple Card effect [DracoRPG]
		unsigned int perfect_hiding : 1; // [Valaris]
		unsigned int no_knockback : 1;
		unsigned int bonus_coma : 1;
	} special_state;
	int login_id1, login_id2;
	unsigned short class_;	//This is the internal job ID used by the map server to simplify comparisons/queries/etc. [Skotlex]
	int group_id, group_pos, group_level;
	unsigned int permissions;/* group permissions */

There.. should I edit one of these? And which exactly? 

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   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.

×
×
  • Create New...