Jump to content
  • 0
Sign in to follow this  
evilpuncker

Create a dummy character/player to clone

Question

So I was thinking about a mercenary to help new players, but our database is kinda limited on that, they are not really useful as "buffers", they don't even heal, so I was thinking about using the:

 

Quote

clone("<map name>", <x>, <y>, "<event>", <char id>{, <master_id>{, <mode>{, <flag>, <duration>}}})

 

I wanted to use it to copy, for example, one of the following: an acolyte, a priest, a high priest or an archbishop...

but since the player (support that will be cloned) must exist and be online, I have no idea how to do that...

 

any ideas?

Edited by evilpuncker

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

  • 1

mob avail ... many members has been claiming the new mob avail format isn't really working

let's see ...

 

{
	Id: 3001
	SpriteName: "AnnieRuru"
	Name: "AnnieRuru"
	Lv: 120
	Hp: 1000000
	Sp: 1
	Exp: 1
	JExp: 1
	AttackRange: 1
	Attack: [100, 200]
	Def: 99
	Mdef: 99
	Stats: {
		Str: 99
		Agi: 99
		Vit: 99
		Int: 99
		Dex: 99
		Luk: 99
	}
	ViewRange: 14
	ChaseRange: 1
	Size: "Size_Medium"
	Race: "RC_Human"
	Element: ("Ele_Neutral", 1)
	Mode: {
		CanMove: true
		CanAttack: true
		Aggressive: true
	}
	MoveSpeed: 150
	AttackDelay: 1000
	AttackMotion: 1000
	DamageMotion: 1000
	ViewData: {
		SpriteId: 4063
		WeaponId: 1501
		HeadTopId: 167
		HeadMidId: 169
//		HeadLowId: 
		HairStyleId: 3
		BodyStyleId: 1
		HairColorId: 8
		BodyColorId: 2
		RobeId: 1
		Gender: "SEX_FEMALE"
	}
},

who said not working ???

screen2020Hercules010.jpg

 

so just add skills

	AnnieRuru: {
		AL_HEAL: {
			SkillState: "MSS_ANY"
			SkillLevel: 10
			Rate: 9000
			Delay: 2000
			Cancelable: true
			SkillTarget: "MST_MASTER"
			CastCondition: "MSC_MASTERHPLTMAXRATE"
			ConditionData: 99
		}
		AL_BLESSING: {
			SkillState: "MSS_IDLE"
			SkillLevel: 10
			Rate: 10000
			Delay: 60000
			Cancelable: true
			SkillTarget: "MST_MASTER"
			CastCondition: "MSC_ALWAYS"
		}
		AL_INCAGI: {
			SkillState: "MSS_IDLE"
			SkillLevel: 10
			Rate: 10000
			CastTime: 1000
			Delay: 60000
			SkillTarget: "MST_MASTER"
			CastCondition: "MSC_ALWAYS"
		}
		AL_HEAL: {
			SkillState: "MSS_ANY"
			SkillLevel: 10
			Rate: 9000
			Delay: 2000
			Cancelable: true
			SkillTarget: "MST_SELF"
			CastCondition: "MSC_MYHPLTMAXRATE"
			ConditionData: 99
		}
		AL_HEAL: {
			SkillState: "MSS_ANY"
			SkillLevel: 10
			Rate: 9000
			Delay: 2000
			Cancelable: true
			SkillTarget: "MST_FRIEND"
			CastCondition: "MSC_FRIENDHPLTMAXRATE"
			ConditionData: 99
		}
	}

 

and add `@summon` and done

https://github.com/HerculesWS/Hercules/pull/2888

with this patch, tested it works

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.