Skip to content
No ratings yet — be the first to rate!
User Avatar
8 years ago
Auto-translated
Hello, dear forum members! I recently decided to start scripting in erm. Naturally, problems arose, but they weren't too serious, and I solved them as much as possible through study and experimentation. But that's not the case here. I need to apply magic resistance to fire to the troops in every battle (whether against an enemy hero or a neutral creature). Here's what I came up with:
!?BA0;
!!BA:H0/?v30;
!!BA:H1/?v31;
!!HEv30&v30<>-2:N?v32;
!!HEv31&v31<>-2:N?v33;
!!VRv25&v30<>-2/v32=49:S0;
!!DO23/0/20/1&v30<>-2/v32=49:P;
!!VRv25&v31<>-2/v33=49:S21;
!!DO23/0/20/1&v31<>-2/v33=49:P;
!?FU23;
!!BMv25:M31/99/3;
!!VRv25:+1;

In general, I run the map, and it doesn't show any errors, but the spell isn't applied in battle. What did I do wrong? I would be very grateful for your help!
8 years ago
Auto-translated
You should go to the Wog-forum instead.

Statistics

Welcome our newest member: recijeb

Users Online 2 users 1212 guests