Current time: 22.04.2024, 08:47 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
UN:C
» Готовые решения
Author Message
PerryR Offline

Posts: 459
Post: #17

!?MF1 Trigger damage type:

I found this information on a Chinese Heroes forum and it is very helpful so I want to share it here.

When using the MF1 trigger it triggers for several other damage types which were probably not intended by the modder, most likely causing side effects or bugs. This can be prevented by specifying which damage type should be considered. Doing this is also helpful if only certain damage types should be modified, allowing for interesting scripts.

The following is directly copied from the forum and not my work, but it is enough to make you understand:

Then, we can detect the value of [028326c0] in the MF1 trigger, and basically determine the type of damage.
After a round of testing, the data obtained is as follows:

Damage Type Return Address:

Fireball damage 0043F960
Normal shooting 0043FA63 (4455011)‬
Range cloud damage 0043FD42
Ring damage 004400E4 (Strikes all Enemies around)
Fire Shield Damage 0044085D
Death gaze damage 00440E75
Lightning strike 0044104D
Acid attack damage 00441251
Normal melee damage 0044173E (4462398)
Dragon damage 0044178F
Arrow Tower Damage 00465964
Moat damage 00469A98
Death ripple damage? 005A106A

Calc with Hex in Deca

Example how to use it:


Full credits for this work should go to You know that you have (Google translated name)
   wakeofgods.com source
(This post was last modified: 01.11.2019 15:32 by PerryR.)
01.11.2019 15:29
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
UN:C - igrik - 13.01.2017, 16:30
RE: UN:C - Bes - 19.09.2020, 22:25
RE: UN:C - igrik - 05.11.2020, 21:45
RE: UN:C - Berserker - 11.12.2020, 17:52
RE: UN:C - Raistlin - 17.12.2020, 02:45
RE: UN:C - Raistlin - 04.01.2021, 03:50
RE: UN:C - Raistlin - 12.01.2021, 18:44
RE: UN:C - Raistlin - 15.02.2021, 15:46
RE: UN:C - Raistlin - 21.02.2021, 20:32
RE: UN:C - Archer30 - 12.04.2021, 10:53
RE: UN:C - Berserker - 18.08.2021, 14:25
RE: UN:C - Berserker - 10.01.2022, 15:21
RE: UN:C - daemon_n - 18.04.2022, 14:02
RE: UN:C - daemon_n - 30.05.2022, 07:05
RE: UN:C - daemon_n - 04.11.2022, 18:33
RE: UN:C - daemon_n - 02.01.2023, 23:25
RE: UN:C - SergOz - 02.05.2023, 11:46
RE: UN:C - daemon_n - 25.06.2023, 08:59
RE: UN:C - daemon_n - 23.08.2023, 08:51
RE: UN:C - SergOz - 06.03.2024, 11:07
RE: UN:C - FallenAngel - 26.03.2024, 22:59
RE: UN:C - daemon_n - 31.03.2024, 07:57
UN:C - igrik - 14.01.2017, 00:22
RE: UN:C - igrik - 14.01.2017, 00:41
RE: UN:C - igrik - 15.01.2017, 17:02
RE: UN:C - igrik - 16.01.2017, 14:48
RE: UN:C - igrik - 16.01.2017, 20:21
RE: UN:C - igrik - 16.01.2017, 20:30
RE: UN:C - igrik - 25.01.2017, 13:38
RE: UN:C - igrik - 26.01.2017, 13:12
RE: UN:C - igrik - 27.10.2017, 11:12
RE: UN:C - igrik - 08.07.2018, 21:50
RE: UN:C - Algor - 19.02.2019, 17:16
RE: UN:C - Chaomen - 18.08.2019, 03:53
RE: UN:C - Igor - 06.09.2019, 22:54
RE: UN:C - Igor - 25.09.2019, 23:34
RE: UN:C - PerryR - 01.11.2019 15:29
RE: UN:C - Berserker - 19.12.2019, 14:53
RE: UN:C - Igor - 11.01.2020, 21:45
RE: UN:C - Igor - 12.01.2020, 18:50
RE: UN:C - Igor - 14.01.2020, 20:31
RE: UN:C - Igor - 19.01.2020, 22:39
RE: UN:C - Igor - 20.01.2020, 05:04
RE: UN:C - Igor - 22.01.2020, 21:38
RE: UN:C - Igor - 25.01.2020, 20:20
RE: UN:C - Raistlin - 10.01.2021, 22:18
RE: UN:C - Igor - 25.01.2020, 21:45
RE: UN:C - Berserker - 28.01.2020, 04:25
RE: UN:C - Berserker - 07.03.2020, 00:33
RE: UN:C - Raistlin - 16.04.2020, 18:47
RE: UN:C - Raistlin - 23.04.2020, 23:45
RE: UN:C - Raistlin - 03.05.2020, 03:10
RE: UN:C - SergOz - 13.05.2020, 15:50
RE: UN:C - igrik - 15.05.2020, 23:25
RE: UN:C - daemon_n - 23.08.2022, 22:11
RE: UN:C - SergOz - 20.07.2020, 01:56
RE: ERA II - igrik - 07.12.2017, 21:52
RE: ERA II - daemon_n - 29.07.2022, 01:56

Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group