Показать сообщение отдельно
Непрочитано 31.10.2010, 18:09   #15
Аватар для Wolfas
Пользователь

По умолчанию Re: манастоуны

Вот дописал строчку:
в Data\Items\client_items.xml

Код:
<client_item>
		<id>199910101</id>
		<name>matter_option_r_hp_50</name>
		<desc>M_01_01</desc>
		<desc_long>ML_01_01</desc_long>
		<item_type>normal</item_type>
		<icon_name>magicstone_01</icon_name>
		<price>100</price>
		<activation_mode>Both</activation_mode>
		<activation_count>1</activation_count>
		<max_stack_count>100</max_stack_count>
		<equipment_slots>none</equipment_slots>
		<quality>MYTHIC</quality>
		<level>50</level>
		<lore>FALSE</lore>
		<can_exchange>TRUE</can_exchange>
		<can_sell_to_npc>TRUE</can_sell_to_npc>
		<can_deposit_to_character_warehouse>TRUE</can_deposit_to_character_warehouse>
		<can_deposit_to_account_warehouse>TRUE</can_deposit_to_account_warehouse>
		<can_deposit_to_guild_warehouse>TRUE</can_deposit_to_guild_warehouse>
		<breakable>TRUE</breakable>
		<soul_bind>FALSE</soul_bind>
		<remove_when_logout>FALSE</remove_when_logout>
		<gender_permitted>all</gender_permitted>
		<warrior>1</warrior>
		<scout>1</scout>
		<mage>1</mage>
		<cleric>1</cleric>
		<fighter>1</fighter>
		<knight>1</knight>
		<assassin>1</assassin>
		<ranger>1</ranger>
		<wizard>1</wizard>
		<elementalist>1</elementalist>
		<chanter>1</chanter>
		<priest>1</priest>
		<bonus_apply>inventory</bonus_apply>
		<stat_enchant_type>maxHP</stat_enchant_type>
		<stat_enchant_value>255</stat_enchant_value>
		<motion_name>Enchant</motion_name>
		<ui_sound_type>Sounds/item/item_gen_mineral</ui_sound_type>
		<cash_item>0</cash_item>
		<can_split>TRUE</can_split>
		<item_drop_permitted>FALSE</item_drop_permitted>
		<sub_enchant_material_many>15</sub_enchant_material_many>
		<race_permitted>pc_light pc_dark</race_permitted>
	</client_item>
И в gameserver\data\static_data\items\item_templates.x ml

Код:
<item_template id="199910101" level="50" mask="8754" max_stack_count="100" item_type="normal" quality="RARE" price="100" race="ALL" option_slot_bonus="0" restrict="1,1,1,1,1,1,1,1,1,1,1,1" desc="1438651" attack_gap="0.0" dmg_decal="0" slot="0">
		<modifiers>
			<add value="150" bonus="true" name="MAXHP"/>
		</modifiers>
		<actions>
			<enchant/>
		</actions>
	</item_template>
Что такое mask?
__________________
Консоль GameServer не советует:"Вы настраивайте сервер уже 1 час. Советуем вам немного отдохнуть".
Wolfas вне форума Ответить с цитированием