Jump to content
  • 0
Sign in to follow this  
fiction

Element Acid Demostration

Question

Hi, how can i convert Acid Demonstration based on the weapon element?. I tried changed in skill_db but has no effect.
I'm using pre-renewal mode.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
8 hours ago, bWolfie said:

how are you changing it? 

Changing Element, to Ele_Weapon.
 

Spoiler



	Id: 490
	Name: "CR_ACIDDEMONSTRATION"
	Description: "Acid Demonstration"
	MaxLevel: 10
	Range: 9
	Hit: "BDT_MULTIHIT"
	SkillType: {
		Enemy: true
	}
	AttackType: "Misc"
	Element: "Ele_Weapon"
	DamageType: {
		IgnoreFlee: true
	}
	NumberOfHits: {
		Lv1: 1
		Lv2: 2
		Lv3: 3
		Lv4: 4
		Lv5: 5
		Lv6: 6
		Lv7: 7
		Lv8: 8
		Lv9: 9
		Lv10: 10
	}
	InterruptCast: true
	CastTime: 1000
	AfterCastActDelay: 1000
	CoolDown: 0
	Requirements: {
		SPCost: 30
		Items: {
			Fire_Bottle: 1
			Acid_Bottle: 1
		}
	}
},


 

 

Share this post


Link to post
Share on other sites
  • 0
			atk = battle->calc_base_damage(src, target, skill_id, skill_lv, nk, false, s_ele, ELE_NEUTRAL, EQI_HAND_R, (sc && sc->data[SC_MAXIMIZEPOWER]?1:0)|(sc && sc->data[SC_WEAPONPERFECT]?8:0), md.flag);

gonna say its this 

ELE_NEUTRAL

 

but im not seeing a ELE_WEAPON 

 

enum elements {
	ELE_NEUTRAL=0,
	ELE_WATER,
	ELE_EARTH,
	ELE_FIRE,
	ELE_WIND,
	ELE_POISON,
	ELE_HOLY,
	ELE_DARK,
	ELE_GHOST,
	ELE_UNDEAD,
	ELE_MAX,
	ELE_ALL = 0xFF
};

 

might have to re write it or monkey around until it works how you want it

 

the magic damage might be affected ? Any change in damage at all when you swap elements  

Edited by Naruto

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.